public abstract class OrderedSetValueImpl extends CollectionValueImpl implements OrderedSetValue
OrderedSetValue.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 |
|---|
OrderedSetValueImpl(CollectionTypeId typeId,
Collection<? extends Object> elements) |
asBagValue, asCollection, asCollectionValue, asEcoreObject, asEcoreObjects, asList, asObject, asSequenceValue, asSetValue, count, excludes, excludesAll, flatten, getBagTypeId, getElements, getElementTypeId, getObject, getOrderedSetTypeId, getSequenceTypeId, getSetTypeId, getTypeId, hashCode, includes, includesAll, initStatics, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toString, toString, unionasDouble, asElement, asInteger, asIntegerValue, asMapValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, 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, unlimitedNaturalValueOfappend, first, last, prependasCollection, asEcoreObject, asEcoreObjects, count, excludes, excludesAll, flatten, flatten, getElements, getTypeId, includes, includesAll, including, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toSequenceValue, unionasBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asMapValue, asNavigableObject, asObject, asObjectValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toStringforEach, spliteratorpublic OrderedSetValueImpl(CollectionTypeId typeId, Collection<? extends Object> elements)
public OrderedSetValue appendAll(OrderedCollectionValue objects)
appendAll in interface OrderedCollectionValuepublic OrderedCollectionValue asOrderedCollectionValue()
asOrderedCollectionValue in interface ValueasOrderedCollectionValue in class ValueImplpublic OrderedSetValueImpl asOrderedSetValue()
asOrderedSetValue in interface ValueasOrderedSetValue in class CollectionValueImplpublic LinkedHashSet<Object> asUnboxedObject(IdResolver idResolver)
ValueA thrown exception for an invalid OCL value.
Java-null for a null OCL value
Objects for other things, Bag/Set/OrderedSet/List for collections
asUnboxedObject in interface ValueasUnboxedObject in class ValueImplpublic UniqueCollectionValue asUniqueCollectionValue()
asUniqueCollectionValue in interface ValueasUniqueCollectionValue in class ValueImplpublic Object at(int index)
at in interface OrderedCollectionValuepublic OrderedSetValue excluding(Object value)
excluding in interface CollectionValuepublic OrderedSetValue excludingAll(CollectionValue values)
excludingAll in interface CollectionValuepublic String getKind()
getKind in interface CollectionValuepublic OrderedSetValue includingAll(CollectionValue values)
includingAll in interface CollectionValuepublic IntegerValue indexOf(Object object)
indexOf in interface OrderedCollectionValuepublic OrderedSetValue insertAt(int index, Object object)
insertAt in interface OrderedCollectionValuepublic boolean isOrdered()
isOrdered in interface CollectionValuepublic boolean isUnique()
isUnique in interface CollectionValuepublic OrderedSetValue minus(UniqueCollectionValue set)
minus in interface UniqueCollectionValuepublic OrderedSetValue prependAll(OrderedCollectionValue objects)
prependAll in interface OrderedCollectionValuepublic OrderedSetValue reverse()
reverse in interface OrderedCollectionValuepublic OrderedSetValue sort(Comparator<Object> comparator)
sort in interface CollectionValuepublic OrderedSetValue subOrderedSet(int lower, int upper)
subOrderedSet in interface OrderedSetValuepublic OrderedSetValue symmetricDifference(UniqueCollectionValue set)
symmetricDifference in interface UniqueCollectionValueCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.