public static class Values.FromArray<E> extends Values<E>
Values.FromArray<E>, Values.FromList<E>, Values.FromTreeList, Values.Values2<E,V1 extends E,V2 extends E>
Modifier and Type | Field and Description |
---|---|
static Values.FromArray<java.lang.Object> |
empty |
Constructor and Description |
---|
Values.FromArray(E[] data) |
Modifier and Type | Method and Description |
---|---|
E |
get(int index)
See java.util.List.
|
java.lang.Object[] |
getValues()
Get the values encapsulated.
|
void |
readExternal(java.io.ObjectInput in) |
int |
size()
See java.util.List.
|
call_with, canonicalize, check_with, countValues, make, make, make, make, make, nextIndex, nextIndex, nextValue, print, readResolve, values, values2, writeExternal, writeValues
add, add, addAll, addAll, addPos, clear, compare, compare, compare, consume, consume, consumeNext, consumePosRange, contains, containsAll, copyPos, createPos, createRelativePos, elements, endPos, equals, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, getAttribute, getAttributeLength, getContainingSequenceSize, getEffectiveIndex, getIndexDifference, getIterator, getIterator, getIteratorAtPos, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isAfterPos, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, nextPos, parentPos, previousPos, rank, releasePos, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setPosNext, setPosPrevious, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedException
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
consume
public static final Values.FromArray<java.lang.Object> empty
public Values.FromArray(E[] data)
public int size()
AbstractSequence
size
in class AbstractSequence<E>
public E get(int index)
AbstractSequence
get
in class AbstractSequence<E>
public java.lang.Object[] getValues()
Values
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException