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.U8Vector
Field Summary |
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 | |
byte |
|
byte |
|
protected void |
|
int |
|
boolean |
|
void |
|
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 U8Vector()
public U8Vector(byte[] data)
public U8Vector(int size)
public U8Vector(int size, byte value)
public final byte byteAt(int index)
public final byte byteAtBuffer(int index)
protected void clearBuffer(int start, int count)
- Overrides:
- clearBuffer in interface SimpleVector
public int compareTo(Object obj)
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 String getTag()
This is convenience hack for printing "uniform vectors" (srfi 4). It may go away without notice!
- Overrides:
- getTag in interface SimpleVector
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public Object setBuffer(int index, Object value)
- Overrides:
- setBuffer in interface SimpleVector
public void setBufferLength(int length)
- Overrides:
- setBufferLength in interface SimpleVector
public final void setByteAt(int index, byte value)
public final void setByteAtBuffer(int index, byte value)
public void writeExternal(ObjectOutput out) throws IOException