public class RangeSequenceValueImpl extends SequenceValueImpl
SequenceValue.AccumulatorEMPTY_ITERATOREMPTY_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_VALUEINVALID_NAME| Constructor and Description |
|---|
RangeSequenceValueImpl(CollectionTypeId typeId,
IntegerRange range) |
| Modifier and Type | Method and Description |
|---|---|
SequenceValue |
append(Object value) |
IntegerValue |
count(Object value)
Implementation of the OCL
Collection::count(object : T) : Integer
operation.
|
boolean |
equals(Object obj) |
Value |
first() |
SequenceValue |
flatten() |
IntegerRange |
getElements() |
SequenceValue |
including(Object value) |
Value |
last() |
SequenceValue |
prepend(Object value) |
void |
toString(StringBuilder s,
int lengthLimit) |
appendAll, asList, asOrderedCollectionValue, asSequenceValue, asUnboxedObject, at, excluding, excludingAll, getKind, includingAll, indexOf, insertAt, isOrdered, isUnique, prependAll, reverse, sort, subSequence, toSequenceValueasBagValue, asCollection, asCollectionValue, asEcoreObject, asEcoreObjects, asObject, asOrderedSetValue, asSetValue, 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, asMapValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefinedasBagValue, 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, unlimitedNaturalValueOfasCollection, asEcoreObject, asEcoreObjects, excludes, excludesAll, flatten, getTypeId, includes, includesAll, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, unionasBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asMapValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefinedforEach, spliteratorpublic RangeSequenceValueImpl(CollectionTypeId typeId, IntegerRange range)
public SequenceValue append(Object value)
append in interface OrderedCollectionValueappend in class SequenceValueImplpublic IntegerValue count(Object value)
CollectionValueImplcount in interface CollectionValuecount in class CollectionValueImplvalue - an objectpublic boolean equals(Object obj)
equals in class SequenceValueImplpublic Value first()
first in interface OrderedCollectionValuefirst in class SequenceValueImplpublic SequenceValue flatten()
flatten in interface CollectionValueflatten in class SequenceValueImplpublic IntegerRange getElements()
getElements in interface CollectionValuegetElements in class SequenceValueImplpublic SequenceValue including(Object value)
including in interface CollectionValueincluding in class SequenceValueImplpublic Value last()
last in interface OrderedCollectionValuelast in class SequenceValueImplpublic SequenceValue prepend(Object value)
prepend in interface OrderedCollectionValueprepend in class SequenceValueImplpublic void toString(StringBuilder s, int lengthLimit)
toString in interface ValuetoString in class SequenceValueImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.