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_VALUE, ZERO_VALUE
INVALID_NAME
Constructor and Description |
---|
OrderedSetValueImpl(CollectionTypeId typeId,
java.util.Collection<? extends java.lang.Object> elements) |
asBagValue, asCollection, asCollectionValue, asEcoreObject, asList, asObject, 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, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined
asBagValue, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
append, first, last, prepend
asCollection, asEcoreObject, count, excludes, excludesAll, flatten, flatten, getElements, getTypeId, includes, includesAll, including, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, union
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asRealValue, 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 SequenceValue objects)
appendAll
in interface SequenceValue
@NonNull public OrderedSetValueImpl asOrderedSetValue()
asOrderedSetValue
in interface Value
asOrderedSetValue
in class CollectionValueImpl
@NonNull public SequenceValue asSequenceValue()
asSequenceValue
in interface Value
asSequenceValue
in class CollectionValueImpl
@NonNull public UniqueCollectionValue asUniqueCollectionValue()
asUniqueCollectionValue
in interface Value
asUniqueCollectionValue
in class ValueImpl
@Nullable public java.lang.Object at(int index)
at
in interface SequenceValue
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 SequenceValue
@NonNull public OrderedSetValue insertAt(int index, @Nullable java.lang.Object object)
insertAt
in interface SequenceValue
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 SequenceValue objects)
prependAll
in interface SequenceValue
@NonNull public OrderedSetValue reverse()
reverse
in interface SequenceValue
@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 SequenceValue subSequence(int lower, int upper)
subSequence
in interface SequenceValue
@NonNull public OrderedSetValue symmetricDifference(@NonNull UniqueCollectionValue set)
symmetricDifference
in interface UniqueCollectionValue
public SequenceValue toSequenceValue()
toSequenceValue
in interface CollectionValue