public class FVector extends SimpleVector implements java.io.Externalizable, Consumable, java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object[] |
data |
protected static java.lang.Object[] |
empty |
sizeATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_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| Constructor and Description |
|---|
FVector() |
FVector(int num) |
FVector(int num,
java.lang.Object o) |
FVector(java.util.List seq) |
FVector(java.lang.Object[] data)
Reuses the argument without making a copy!
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearBuffer(int start,
int count) |
int |
compareTo(java.lang.Object obj) |
void |
consume(Consumer out) |
boolean |
consumeNext(int ipos,
Consumer out)
Copy an element specified by a position pair to a Consumer.
|
void |
consumePosRange(int iposStart,
int iposEnd,
Consumer out) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(int index)
See java.util.List.
|
protected java.lang.Object |
getBuffer() |
java.lang.Object |
getBuffer(int index) |
int |
getBufferLength()
Get the allocated length of the data buffer.
|
static FVector |
make(java.lang.Object... data) |
void |
readExternal(java.io.ObjectInput in) |
void |
setAll(java.lang.Object new_value) |
java.lang.Object |
setBuffer(int index,
java.lang.Object value) |
void |
setBufferLength(int length) |
void |
shift(int srcStart,
int dstStart,
int count) |
void |
writeExternal(java.io.ObjectOutput out) |
add, add, addAll, addPos, clear, compareToInt, compareToLong, consume, createPos, fill, fill, fillPosRange, getElementKind, getNextKind, getPosNext, getRowMajor, getTag, intAt, intAtBuffer, isAfterPos, longAt, longAtBuffer, nextIndex, nextPos, remove, remove, removeAll, removePos, removePosRange, resizeShift, retainAll, set, setSize, size, transposeaddAll, compare, compare, compare, contains, containsAll, copyPos, createRelativePos, elements, endPos, equals, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, getAttribute, getAttributeLength, getContainingSequenceSize, getEffectiveIndex, getIndexDifference, getIterator, getIterator, getIteratorAtPos, getLowBound, getNextTypeName, getNextTypeObject, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, releasePos, set, setPosNext, setPosPrevious, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedExceptionclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArrayget, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, setpublic FVector()
public FVector(int num)
public FVector(int num,
java.lang.Object o)
public FVector(java.lang.Object[] data)
public FVector(java.util.List seq)
public static FVector make(java.lang.Object... data)
public int getBufferLength()
getBufferLength in class SimpleVectorpublic void setBufferLength(int length)
setBufferLength in class SimpleVectorprotected java.lang.Object getBuffer()
getBuffer in class SimpleVectorpublic void shift(int srcStart,
int dstStart,
int count)
shift in class SimpleVectorpublic final java.lang.Object getBuffer(int index)
getBuffer in class SimpleVectorpublic final java.lang.Object get(int index)
AbstractSequenceget in interface Sequenceget in interface java.util.Listget in class SimpleVectorpublic final java.lang.Object setBuffer(int index,
java.lang.Object value)
setBuffer in class SimpleVectorprotected void clearBuffer(int start,
int count)
clearBuffer in class SimpleVectorpublic boolean equals(java.lang.Object obj)
equals in interface java.util.Collectionequals in interface java.util.Listequals in class AbstractSequencepublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic final void setAll(java.lang.Object new_value)
public boolean consumeNext(int ipos,
Consumer out)
AbstractSequenceconsumeNext in class SimpleVectorpublic void consumePosRange(int iposStart,
int iposEnd,
Consumer out)
consumePosRange in class SimpleVectorpublic void consume(Consumer out)
consume in interface Consumableconsume in class AbstractSequencepublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException