Class Values.Values2<E, V1 extends E, V2 extends E>
java.lang.Object
gnu.lists.AbstractSequence<E>
gnu.mapping.Values<E>
gnu.mapping.Values.Values2<E,V1,V2>
- All Implemented Interfaces:
Consumable, Externalizable, Serializable
A specialization of Values for exactly 2 values.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Values
Values.FromArray<E>, Values.FromList<E>, Values.FromTreeList, Values.Values2<E,V1, V2> -
Field Summary
Fields inherited from class AbstractSequence
noInts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Values
checkFinalPos, countValues, getFromPos, getFromPosFinal, incrPos, make, make, make, make, makeFromArray, nextIndex, nextIndex, nextValue, print, readResolve, values, values2, writeExternal, writeValuesMethods inherited from class AbstractSequence
add, add, addAll, addAll, addPos, asImmutable, badRank, boundedHash, checkCanWrite, checkRank, clear, compare, compare, compare, consume, consume, consumeNext, consumePosRange, contains, containsAll, copyPos, createPos, createRelativePos, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, elements, endPos, equals, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, get, get, get, getAttribute, getAttributeLength, getBooleanRaw, getByteRaw, getCharRaw, getContainingSequenceSize, getDoubleRaw, getElementKind, getFloatRaw, getIndexDifference, getInt, getInt, getInt, getInt, getInt, getIntRaw, getIterator, getIterator, getIteratorAtPos, getLongRaw, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getRaw, getRowMajor, getShortRaw, getSize, 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, setAt, setBuffer, setPosNext, setPosPrevious, setRaw, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedExceptionMethods inherited from interface Consumable
consume
-
Constructor Details
-
Values2
-
-
Method Details
-
getValue1
-
getValue2
-
call_with
-
size
public int size()- Overrides:
sizein classAbstractSequence<E>
-
get
- Overrides:
getin classAbstractSequence<E>
-
getValues
-
readExternal
- Throws:
IOExceptionClassNotFoundException
-
canonicalize
Description copied from class:ValuesIf a simple value, return that value. Also, if no values, return empty.- Overrides:
canonicalizein classValues<E>
-