gnu.lists
public class F32Vector extends SimpleVector implements Externalizable, Comparable
Field Summary | |
---|---|
protected static float[] | empty |
Constructor Summary | |
---|---|
F32Vector() | |
F32Vector(int size, float value) | |
F32Vector(int size) | |
F32Vector(float[] data) | |
F32Vector(Sequence seq) |
Method Summary | |
---|---|
protected void | clearBuffer(int start, int count) |
int | compareTo(Object obj) |
boolean | consumeNext(int ipos, Consumer out) |
void | consumePosRange(int iposStart, int iposEnd, Consumer out) |
float | floatAt(int index) |
float | floatAtBuffer(int index) |
Object | get(int index) |
protected Object | getBuffer() |
Object | getBuffer(int index) |
int | getBufferLength() Get the allocated length of the data buffer. |
int | getElementKind() |
String | getTag() |
int | intAtBuffer(int index) |
void | readExternal(ObjectInput in) |
Object | setBuffer(int index, Object value) |
void | setBufferLength(int length) |
void | setFloatAt(int index, float value) |
void | setFloatAtBuffer(int index, float value) |
void | writeExternal(ObjectOutput out) |
Serial Data: Write 'size' (using writeInt), followed by 'size' elements in order (using writeFloat).