public class RangeSequenceValueImpl extends SequenceValueImpl
SequenceValue.Accumulatorelements, EMPTY_ITERATOR, typeIdEMPTY_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_VALUEINVALID_NAME| Constructor and Description |
|---|
RangeSequenceValueImpl(CollectionTypeId typeId,
IntegerRange range) |
| Modifier and Type | Method and Description |
|---|---|
SequenceValue |
append(java.lang.Object value) |
IntegerValue |
count(java.lang.Object value)
Implementation of the OCL
Collection::count(object : T) : Integer
operation.
|
protected java.util.List<java.lang.Object> |
createElements() |
boolean |
equals(java.lang.Object obj) |
Value |
first() |
SequenceValue |
flatten() |
IntegerRange |
getElements() |
SequenceValue |
including(java.lang.Object value) |
Value |
last() |
SequenceValue |
prepend(java.lang.Object value) |
void |
toString(java.lang.StringBuilder s,
int lengthLimit) |
appendAll, asList, asSequenceValue, at, eStaticClass, excluding, excludingAll, getKind, includingAll, indexOf, insertAt, isOrdered, isUnique, prependAll, reverse, sort, subSequence, toSequenceValueasBagValue, asCollection, asCollectionValue, asEcoreObject, asObject, asOrderedSetValue, asSetValue, checkElementsAreUnique, excludes, excludesAll, flatten, getBagTypeId, getElementTypeId, getObject, getOrderedSetTypeId, getSequenceTypeId, getSetTypeId, getTypeId, hashCode, includes, includesAll, initStatics, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toString, unionasDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefinedasBagValue, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasCollection, asEcoreObject, excludes, excludesAll, flatten, getTypeId, includes, includesAll, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, unionasBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefinedpublic RangeSequenceValueImpl(@NonNull
CollectionTypeId typeId,
@NonNull
IntegerRange range)
@NonNull public SequenceValue append(@Nullable java.lang.Object value)
append in interface SequenceValueappend in class SequenceValueImpl@NonNull public IntegerValue count(@Nullable java.lang.Object value)
CollectionValueImplcount in interface CollectionValuecount in class CollectionValueImpl@NonNull protected java.util.List<java.lang.Object> createElements()
public boolean equals(java.lang.Object obj)
equals in class SequenceValueImpl@Nullable public Value first()
first in interface SequenceValuefirst in class SequenceValueImpl@NonNull public SequenceValue flatten()
flatten in interface CollectionValueflatten in class SequenceValueImpl@NonNull public IntegerRange getElements()
getElements in interface CollectionValuegetElements in class SequenceValueImpl@NonNull public SequenceValue including(@Nullable java.lang.Object value)
including in interface CollectionValueincluding in class SequenceValueImpl@Nullable public Value last()
last in interface SequenceValuelast in class SequenceValueImpl@NonNull public SequenceValue prepend(@Nullable java.lang.Object value)
prepend in interface SequenceValueprepend in class SequenceValueImplpublic void toString(@NonNull
java.lang.StringBuilder s,
int lengthLimit)
toString in interface ValuetoString in class SequenceValueImpl