| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.lists.AbstractSequencegnu.lists.SimpleVectorgnu.lists.F32VectorField Summary | |
protected static float[] | |
Fields inherited from class gnu.lists.SimpleVector | |
size | |
Fields inherited from interface gnu.lists.Sequence | |
ATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, EOF_VALUE, FLOAT_VALUE, GROUP_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE, eofValue | |
Method Summary | |
protected void |
|
int |
|
boolean |
|
void |
|
float |
|
float |
|
Object |
|
protected Object | |
Object |
|
int |
|
int | |
String |
|
int |
|
void |
|
Object |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class gnu.lists.SimpleVector | |
add, add, addAll, addPos, clear, clearBuffer, compareToInt, compareToLong, consume, consumeNext, consumePosRange, createPos, fill, fill, fillPosRange, get, getBuffer, getBuffer, getBufferLength, getElementKind, getNextKind, getPosNext, getRowMajor, getTag, intAt, intAtBuffer, isAfterPos, longAt, longAtBuffer, nextIndex, nextPos, remove, remove, removeAll, removePos, removePosRange, retainAll, set, setBuffer, setBufferLength, setSize, shift, size, transpose | |
public F32Vector()
public F32Vector(float[] data)
public F32Vector(int size)
public F32Vector(int size,
float value)protected void clearBuffer(int start,
int count)
- Overrides:
- clearBuffer in interface SimpleVector
public int compareTo(Object obj)
public boolean consumeNext(int ipos,
Consumer out)
- Overrides:
- consumeNext in interface SimpleVector
public void consumePosRange(int iposStart,
int iposEnd,
Consumer out)
- Overrides:
- consumePosRange in interface SimpleVector
public final float floatAt(int index)
public final float floatAtBuffer(int index)
public int getBufferLength()
Get the allocated length of the data buffer.
- Overrides:
- getBufferLength in interface SimpleVector
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundExceptionpublic final Object setBuffer(int index,
Object value)
- Overrides:
- setBuffer in interface SimpleVector
public void setBufferLength(int length)
- Overrides:
- setBufferLength in interface SimpleVector
public final void setFloatAt(int index,
float value)public final void setFloatAtBuffer(int index,
float value)public void writeExternal(ObjectOutput out)
throws IOException