org.eclipse.ocl.examples.library.collection
Class OrderedCollectionReverseOperation

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.util.ValuesUtil
      extended by org.eclipse.ocl.examples.domain.library.AbstractFeature
          extended by org.eclipse.ocl.examples.domain.library.AbstractOperation
              extended by org.eclipse.ocl.examples.domain.library.AbstractUnaryOperation
                  extended by org.eclipse.ocl.examples.domain.library.AbstractUntypedUnaryOperation
                      extended by org.eclipse.ocl.examples.domain.library.AbstractSimpleUnaryOperation
                          extended by org.eclipse.ocl.examples.library.collection.OrderedCollectionReverseOperation
All Implemented Interfaces:
LibraryFeature, LibraryOperation, LibrarySimpleOperation, LibrarySimpleUnaryOperation, LibraryUnaryOperation, LibraryUntypedOperation, LibraryUntypedUnaryOperation

public class OrderedCollectionReverseOperation
extends AbstractSimpleUnaryOperation

OrderedCollectionReverseOperation realises the OrderedCollection::reverse() library operation.


Field Summary
static OrderedCollectionReverseOperation INSTANCE
           
 
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
 
Constructor Summary
OrderedCollectionReverseOperation()
           
 
Method Summary
 OrderedCollectionValue evaluate(java.lang.Object argument)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractSimpleUnaryOperation
dispatch, evaluate, evaluate
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil
asBagValue, asBoolean, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asMetaclass, asNavigableObject, asObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, bigDecimalValueOf, bigIntegerValueOf, characterValueOf, 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, getEcoreNumber, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, isBoxed, isCollectionValue, isIntegerNumber, isIntegerValue, isRealNumber, isUnboxed, isUnlimited, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, stringValueOf, throwBooleanInvalidValueException, throwInvalidValueException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

@NonNull
public static final OrderedCollectionReverseOperation INSTANCE
Constructor Detail

OrderedCollectionReverseOperation

public OrderedCollectionReverseOperation()
Method Detail

evaluate

@NonNull
public OrderedCollectionValue evaluate(@Nullable
                                               java.lang.Object argument)
Specified by:
evaluate in interface LibrarySimpleUnaryOperation
Specified by:
evaluate in class AbstractSimpleUnaryOperation