public class RangeOrderedSetValueImpl extends OrderedSetValueImpl
OrderedSetValue.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 |
---|
RangeOrderedSetValueImpl(CollectionTypeId typeId,
IntegerRange range) |
Modifier and Type | Method and Description |
---|---|
OrderedSetValue |
append(Object value) |
IntegerValue |
count(Object value)
Implementation of the OCL
Collection::count(object : T) : Integer
operation.
|
boolean |
equals(Object obj) |
Value |
first() |
OrderedSetValue |
flatten() |
IntegerRange |
getElements() |
OrderedSetValue |
including(Object value) |
Value |
last() |
OrderedSetValue |
prepend(Object value) |
SequenceValue |
toSequenceValue() |
void |
toString(StringBuilder s,
int lengthLimit) |
appendAll, asOrderedCollectionValue, asOrderedSetValue, asUnboxedObject, asUniqueCollectionValue, at, excluding, excludingAll, getKind, includingAll, indexOf, insertAt, isOrdered, isUnique, minus, prependAll, reverse, sort, subOrderedSet, symmetricDifference
asBagValue, asCollection, asCollectionValue, asEcoreObject, asEcoreObjects, asList, asObject, asSequenceValue, asSetValue, 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, 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
asCollection, asEcoreObject, asEcoreObjects, excludes, excludesAll, flatten, getTypeId, includes, includesAll, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, union
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asMapValue, asNavigableObject, asObject, asObjectValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUnlimitedNaturalValue, isInvalid, isUndefined
forEach, spliterator
public RangeOrderedSetValueImpl(CollectionTypeId typeId, IntegerRange range)
public OrderedSetValue append(Object value)
public IntegerValue count(Object value)
CollectionValueImpl
count
in interface CollectionValue
count
in class CollectionValueImpl
value
- an objectpublic boolean equals(Object obj)
equals
in class OrderedSetValueImpl
public Value first()
public OrderedSetValue flatten()
public IntegerRange getElements()
getElements
in interface CollectionValue
getElements
in class CollectionValueImpl
public OrderedSetValue including(Object value)
public Value last()
public OrderedSetValue prepend(Object value)
public SequenceValue toSequenceValue()
public void toString(StringBuilder s, int lengthLimit)
toString
in interface Value
toString
in class CollectionValueImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.