public class S64Vector extends SimpleVector implements java.io.Externalizable, java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
protected static long[] |
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 |
|---|
S64Vector() |
S64Vector(int size) |
S64Vector(int size,
long value) |
S64Vector(long[] data) |
S64Vector(Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearBuffer(int start,
int count) |
int |
compareTo(java.lang.Object obj) |
void |
consumePosRange(int iposStart,
int iposEnd,
Consumer out) |
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.
|
int |
getElementKind() |
java.lang.String |
getTag()
This is convenience hack for printing "uniform vectors" (srfi 4).
|
int |
intAtBuffer(int index) |
long |
longAt(int index) |
long |
longAtBuffer(int index) |
void |
readExternal(java.io.ObjectInput in) |
void |
setBuffer(int index,
java.lang.Object value) |
void |
setBufferLength(int length) |
void |
setLongAt(int index,
long value) |
void |
setLongAtBuffer(int index,
long value) |
void |
writeExternal(java.io.ObjectOutput out) |
add, add, addAll, addPos, checkCanWrite, clear, compareToInt, compareToLong, consume, fill, fill, fillPosRange, getNextKind, getPosNext, getRowMajor, intAt, isAfterPos, nextIndex, nextPos, remove, remove, removeAll, removePos, removePosRange, resizeShift, retainAll, set, setSize, shift, size, transposeaddAll, compare, compare, compare, consume, consumeNext, contains, containsAll, copyPos, createPos, createRelativePos, elements, endPos, equals, 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, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, replaceAll, sort, spliterator, subList, toArray, toArrayconsumeget, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, setpublic S64Vector()
public S64Vector(int size,
long value)
public S64Vector(int size)
public S64Vector(long[] data)
public S64Vector(Sequence seq)
public int getBufferLength()
getBufferLength in class SimpleVectorpublic void setBufferLength(int length)
setBufferLength in class SimpleVectorprotected java.lang.Object getBuffer()
getBuffer in class SimpleVectorpublic final long longAt(int index)
longAt in class SimpleVectorpublic final long longAtBuffer(int index)
longAtBuffer 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 getBuffer(int index)
getBuffer in class SimpleVectorpublic final int intAtBuffer(int index)
intAtBuffer in class SimpleVectorpublic void setBuffer(int index,
java.lang.Object value)
setBuffer in class SimpleVectorpublic final void setLongAt(int index,
long value)
public final void setLongAtBuffer(int index,
long value)
protected void clearBuffer(int start,
int count)
clearBuffer in class SimpleVectorpublic int getElementKind()
getElementKind in class SimpleVectorpublic java.lang.String getTag()
SimpleVectorgetTag in class SimpleVectorpublic void consumePosRange(int iposStart,
int iposEnd,
Consumer out)
consumePosRange in class SimpleVectorpublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic 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