org.eclipse.ocl.examples.domain.values.impl
Class SparseSequenceValueImpl

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.util.ValuesUtil
      extended by org.eclipse.ocl.examples.domain.values.impl.ValueImpl
          extended by org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
              extended by org.eclipse.ocl.examples.domain.values.impl.SequenceValueImpl
                  extended by org.eclipse.ocl.examples.domain.values.impl.SparseSequenceValueImpl
All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>, CollectionValue, SequenceValue, Value
Direct Known Subclasses:
SparseSequenceValueImpl.Accumulator

public class SparseSequenceValueImpl
extends SequenceValueImpl

Generated
NOT

Nested Class Summary
static class SparseSequenceValueImpl.Accumulator
           
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
elements, EMPTY_ITERATOR, typeId
 
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
 
Constructor Summary
SparseSequenceValueImpl(CollectionTypeId typeId, java.util.List<? extends java.lang.Object> boxedValues)
           
 
Method Summary
static java.util.List<java.lang.Object> createSequenceOfEach(java.lang.Object[] boxedValues)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.SequenceValueImpl
append, asList, asSequenceValue, at, eStaticClass, excluding, first, flatten, getElements, getKind, including, indexOf, insertAt, isOrdered, isUnique, last, prepend, reverse, sort, subSequence, toSequenceValue, toString
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
asBagValue, asCollection, asCollectionValue, asEcoreObject, asObject, asOrderedSetValue, asSetValue, checkElementsAreUnique, count, excludes, excludesAll, flatten, getBagTypeId, 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, asUniqueCollectionValue, 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, 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, asOrderedSetValue, asRealValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined
 

Constructor Detail

SparseSequenceValueImpl

public SparseSequenceValueImpl(@NonNull
                               CollectionTypeId typeId,
                               @NonNull
                               java.util.List<? extends java.lang.Object> boxedValues)
Method Detail

createSequenceOfEach

@NonNull
public static java.util.List<java.lang.Object> createSequenceOfEach(@NonNull
                                                                            java.lang.Object[] boxedValues)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class SequenceValueImpl