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_ONE_VALUE, UNLIMITED_VALUE, ZERO_VALUE
INVALID_NAME
Constructor and Description |
---|
Accumulator(CollectionTypeId typeId) |
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, createSequenceOfEach, equals
appendAll, asList, asOrderedCollectionValue, asSequenceValue, asUnboxedObject, 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, asEcoreObjects, 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, asMapValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined
asBagValue, asBoolean, asClass, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asMapType, asMapValue, asNavigableObject, asNavigableObject, asObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, bigDecimalValueOf, bigIntegerValueOf, byteValueOf, characterValueOf, computeCollectionHashCode, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createMapEntry, createMapOfEach, createMapValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, doubleValueOf, floatValueOf, getElementIdName, getExecutor, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, intValueOf, isBoxed, isCollectionValue, isEcore, isIntegerNumber, isIntegerValue, isRealNumber, isUnboxed, isUnlimited, longValueOf, numberValueOf, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, shortValueOf, stringValueOf, throwBooleanInvalidValueException, throwInvalidValueException, throwUnsupportedCompareTo, toString, typedIterable, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
subSequence
appendAll, at, first, indexOf, insertAt, last, prepend, prependAll, reverse
asCollection, asEcoreObject, asEcoreObjects, 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, asMapValue, asNavigableObject, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUnboxedObject, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString
public Accumulator(@NonNull CollectionTypeId typeId)
public 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 OrderedCollectionValue
append
in class SequenceValueImpl