org.eclipse.ocl.examples.domain.values.impl
Class SparseOrderedSetValueImpl
java.lang.Object
org.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.values.impl.ValueImpl
org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
org.eclipse.ocl.examples.domain.values.impl.OrderedSetValueImpl
org.eclipse.ocl.examples.domain.values.impl.SparseOrderedSetValueImpl
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, CollectionValue, OrderedSetValue, SequenceValue, UniqueCollectionValue, Value
- Direct Known Subclasses:
- SparseOrderedSetValueImpl.Accumulator
public class SparseOrderedSetValueImpl
- extends OrderedSetValueImpl
- Generated
- NOT
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
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 |
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
INVALID_NAME |
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.OrderedSetValueImpl |
asOrderedSetValue, asSequenceValue, asUniqueCollectionValue, at, equals, eStaticClass, excluding, getKind, indexOf, insertAt, isOrdered, isUnique, minus, reverse, sort, subOrderedSet, subSequence, symmetricDifference, toSequenceValue |
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl |
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, union |
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.ValueImpl |
asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined |
Methods inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.domain.values.CollectionValue |
asCollection, asEcoreObject, count, excludes, excludesAll, flatten, getElements, getTypeId, includes, includesAll, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, union |
Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value |
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asRealValue, asSetValue, asTupleValue, asUnlimitedNaturalValue, isInvalid, isUndefined |
SparseOrderedSetValueImpl
public SparseOrderedSetValueImpl(@NonNull
CollectionTypeId typeId,
@NonNull
java.util.Collection<? extends java.lang.Object> boxedValues)
createOrderedSetOfEach
@NonNull
public static OrderedSet<java.lang.Object> createOrderedSetOfEach(@NonNull
java.lang.Object[] boxedValues)
append
@NonNull
public OrderedSetValue append(@Nullable
java.lang.Object object)
first
@Nullable
public java.lang.Object first()
flatten
@NonNull
public OrderedSetValue flatten()
including
@NonNull
public OrderedSetValue including(@Nullable
java.lang.Object value)
last
@Nullable
public java.lang.Object last()
prepend
@NonNull
public OrderedSetValue prepend(@Nullable
java.lang.Object object)
toString
public void toString(@NonNull
java.lang.StringBuilder s,
int lengthLimit)
- Specified by:
toString
in interface Value
- Overrides:
toString
in class CollectionValueImpl