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.BitVector
Field Summary | |
protected static boolean[] |
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 | |
boolean |
|
boolean |
|
protected void |
|
boolean |
|
void |
|
Object |
|
protected Object | |
Object |
|
int |
|
int | |
String |
|
void |
|
void |
|
void |
|
Object |
|
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 BitVector()
public BitVector(boolean[] data)
public BitVector(int size)
public BitVector(int size, boolean value)
public final boolean booleanAt(int index)
public final boolean booleanAtBuffer(int index)
protected void clearBuffer(int start, int count)
- Overrides:
- clearBuffer in interface SimpleVector
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 setBooleanAt(int index, boolean value)
public final void setBooleanAtBuffer(int index, boolean value)
public Object setBuffer(int index, Object value)
- Overrides:
- setBuffer in interface SimpleVector
public void setBufferLength(int length)
- Overrides:
- setBufferLength in interface SimpleVector
public void writeExternal(ObjectOutput out) throws IOException