public static class SparseSequenceValueImpl.Accumulator extends SparseSequenceValueImpl implements SequenceValue.Accumulator
SparseSequenceValueImpl.Accumulator
SequenceValue.Accumulator
elements, EMPTY_ITERATOR, typeId
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE
INVALID_NAME
Constructor and Description |
---|
SparseSequenceValueImpl.Accumulator(CollectionTypeId typeId) |
SparseSequenceValueImpl.Accumulator(CollectionTypeId typeId,
java.util.List<? extends java.lang.Object> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object value) |
SequenceValue |
append(java.lang.Object value) |
createSequenceOfEach, equals
appendAll, asList, asSequenceValue, at, eStaticClass, excluding, excludingAll, first, flatten, getElements, getKind, including, includingAll, indexOf, insertAt, isOrdered, isUnique, last, prepend, prependAll, reverse, sort, subSequence, toSequenceValue, toString
asBagValue, asCollection, asCollectionValue, asEcoreObject, asObject, asOrderedSetValue, asSetValue, checkElementsAreUnique, count, excludes, excludesAll, flatten, getBagTypeId, getElementTypeId, getObject, getOrderedSetTypeId, getSequenceTypeId, getSetTypeId, getTypeId, hashCode, includes, includesAll, initStatics, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toString, union
asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined
asBagValue, asBoolean, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asNavigableObject, asObject, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, createTupleValue, createTypeValue, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, isBoxed, isCollectionValue, isIntegerValue, isUnboxed, isUnlimited, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, stringValueOf, throwInvalidValueException, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendAll, at, first, indexOf, insertAt, last, prepend, prependAll, reverse, subSequence
asCollection, asEcoreObject, count, excludes, excludesAll, excluding, excludingAll, flatten, flatten, getElements, getKind, getTypeId, includes, includesAll, including, includingAll, intersection, intSize, isEmpty, isOrdered, isUnique, iterable, iterator, notEmpty, product, size, sort, toSequenceValue, union
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString
public SparseSequenceValueImpl.Accumulator(@NonNull CollectionTypeId typeId)
public SparseSequenceValueImpl.Accumulator(@NonNull CollectionTypeId typeId, @NonNull java.util.List<? extends java.lang.Object> values)
public boolean add(@Nullable java.lang.Object value)
add
in interface CollectionValue.Accumulator
@NonNull public SequenceValue append(@Nullable java.lang.Object value)
append
in interface SequenceValue
append
in class SequenceValueImpl