Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.lists.AbstractSequence
gnu.lists.SimpleVector
gnu.lists.FVector
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 |
Constructor Summary | |
| |
| |
| |
| |
|
Method Summary | |
protected void |
|
int |
|
void | |
boolean |
|
void |
|
boolean |
|
Object |
|
protected Object | |
Object |
|
int |
|
void |
|
void |
|
Object |
|
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 FVector()
public FVector(Object[] data)
Reuses the argument without making a copy!
public FVector(int num)
public FVector(int num, Object o)
public FVector(java.util.List seq)
protected void clearBuffer(int start, int count)
- Overrides:
- clearBuffer in interface SimpleVector
public int compareTo(Object obj)
public void consume(Consumer out)
- Specified by:
- consume in interface Consumable
- Overrides:
- consume in interface AbstractSequence
public boolean consumeNext(int ipos, Consumer out)
Copy an element specified by a position pair to a Consumer.
- Overrides:
- consumeNext in interface SimpleVector
- Returns:
- if hasNext(ipos).
public void consumePosRange(int iposStart, int iposEnd, Consumer out)
- Overrides:
- consumePosRange in interface SimpleVector
public int getBufferLength()
Get the allocated length of the data buffer.
- Overrides:
- getBufferLength in interface SimpleVector
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public final void setAll(Object new_value)
public final Object setBuffer(int index, Object value)
- Overrides:
- setBuffer in interface SimpleVector
public void setBufferLength(int length)
- Overrides:
- setBufferLength in interface SimpleVector
public void shift(int srcStart, int dstStart, int count)
- Overrides:
- shift in interface SimpleVector
public void writeExternal(ObjectOutput out) throws IOException