public abstract class OrderedSetValueImpl extends CollectionValueImpl implements OrderedSetValue
OrderedSetValue.Accumulator
elements, EMPTY_ITERATOR, typeId
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 |
---|
OrderedSetValueImpl(CollectionTypeId typeId,
java.util.Collection<? extends java.lang.Object> elements) |
asBagValue, asCollection, asCollectionValue, asEcoreObject, asEcoreObjects, asList, asObject, asSequenceValue, asSetValue, checkElementsAreUnique, 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, 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
append, first, last, prepend
asCollection, asEcoreObject, asEcoreObjects, count, excludes, excludesAll, flatten, flatten, getElements, getTypeId, includes, includesAll, including, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toSequenceValue, union
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asMapValue, asNavigableObject, asObject, asObjectValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString
public OrderedSetValueImpl(@NonNull CollectionTypeId typeId, @NonNull java.util.Collection<? extends java.lang.Object> elements)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CollectionValueImpl
@NonNull public OrderedSetValue appendAll(@NonNull OrderedCollectionValue objects)
appendAll
in interface OrderedCollectionValue
@NonNull public OrderedCollectionValue asOrderedCollectionValue()
asOrderedCollectionValue
in interface Value
asOrderedCollectionValue
in class ValueImpl
@NonNull public OrderedSetValueImpl asOrderedSetValue()
asOrderedSetValue
in interface Value
asOrderedSetValue
in class CollectionValueImpl
@NonNull public java.util.LinkedHashSet<java.lang.Object> asUnboxedObject(@NonNull IdResolver idResolver)
Value
A 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 Value
asUnboxedObject
in class ValueImpl
@NonNull public UniqueCollectionValue asUniqueCollectionValue()
asUniqueCollectionValue
in interface Value
asUniqueCollectionValue
in class ValueImpl
@Nullable public java.lang.Object at(int index)
at
in interface OrderedCollectionValue
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@NonNull public OrderedSetValue excluding(@Nullable java.lang.Object value)
excluding
in interface CollectionValue
@NonNull public OrderedSetValue excludingAll(@NonNull CollectionValue values)
excludingAll
in interface CollectionValue
@NonNull public java.lang.String getKind()
getKind
in interface CollectionValue
@NonNull public OrderedSetValue includingAll(@NonNull CollectionValue values)
includingAll
in interface CollectionValue
@NonNull public IntegerValue indexOf(@Nullable java.lang.Object object)
indexOf
in interface OrderedCollectionValue
@NonNull public OrderedSetValue insertAt(int index, @Nullable java.lang.Object object)
insertAt
in interface OrderedCollectionValue
public boolean isOrdered()
isOrdered
in interface CollectionValue
public boolean isUnique()
isUnique
in interface CollectionValue
@NonNull public OrderedSetValue minus(@NonNull UniqueCollectionValue set)
minus
in interface UniqueCollectionValue
@NonNull public OrderedSetValue prependAll(@NonNull OrderedCollectionValue objects)
prependAll
in interface OrderedCollectionValue
@NonNull public OrderedSetValue reverse()
reverse
in interface OrderedCollectionValue
@NonNull public OrderedSetValue sort(@NonNull java.util.Comparator<java.lang.Object> comparator)
sort
in interface CollectionValue
@NonNull public OrderedSetValue subOrderedSet(int lower, int upper)
subOrderedSet
in interface OrderedSetValue
@NonNull public OrderedSetValue symmetricDifference(@NonNull UniqueCollectionValue set)
symmetricDifference
in interface UniqueCollectionValue