public static class SparseSequenceValueImpl.Accumulator extends SparseSequenceValueImpl implements SequenceValue.Accumulator
SparseSequenceValueImpl.Accumulator
SequenceValue.Accumulator
EMPTY_ITERATOR
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,
List<? extends Object> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object value) |
SequenceValue |
append(Object value) |
createSequenceOfEach, createSequenceOfEach, equals
appendAll, asList, asOrderedCollectionValue, asSequenceValue, asUnboxedObject, at, 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, 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
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
forEach, spliterator
public Accumulator(CollectionTypeId typeId)
public Accumulator(CollectionTypeId typeId, List<? extends Object> values)
public boolean add(Object value)
add
in interface CollectionValue.Accumulator
public SequenceValue append(Object value)
append
in interface OrderedCollectionValue
append
in class SequenceValueImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.