public static class Values.Values2<E,V1 extends E,V2 extends E> extends Values<E>
Values.FromArray<E>, Values.FromList<E>, Values.FromTreeList, Values.Values2<E,V1 extends E,V2 extends E>
Constructor and Description |
---|
Values.Values2(V1 value1,
V2 value2) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call_with(Procedure proc)
Apply a Procedure with these values as the arguments.
|
java.lang.Object |
canonicalize()
If a simple value, return that value.
|
void |
check_with(Procedure proc,
CallContext ctx) |
E |
get(int index)
See java.util.List.
|
V1 |
getValue1() |
V2 |
getValue2() |
java.lang.Object[] |
getValues()
Get the values encapsulated.
|
void |
readExternal(java.io.ObjectInput in) |
int |
size()
See java.util.List.
|
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 V1 getValue1()
public V2 getValue2()
public java.lang.Object call_with(Procedure proc) throws java.lang.Throwable
Values
public void check_with(Procedure proc, CallContext ctx)
check_with
in class Values<E>
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
public java.lang.Object canonicalize()
Values
canonicalize
in class Values<E>