|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractOperation
org.eclipse.ocl.examples.domain.library.AbstractBinaryOperation
org.eclipse.ocl.examples.library.collection.CollectionProductOperation
public class CollectionProductOperation
CollectionProductOperation realises the Collection::product() library operation.
Field Summary | |
---|---|
static CollectionProductOperation |
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 | |
---|---|
CollectionProductOperation()
|
Method Summary | |
---|---|
CollectionValue |
evaluate(DomainEvaluator evaluator,
TypeId returnTypeId,
java.lang.Object sourceVal,
java.lang.Object argVal)
Return the result of evaluating the operation on left and right arguments. |
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractBinaryOperation |
---|
dispatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull public static final CollectionProductOperation INSTANCE
Constructor Detail |
---|
public CollectionProductOperation()
Method Detail |
---|
@NonNull public CollectionValue evaluate(@NonNull DomainEvaluator evaluator, @NonNull TypeId returnTypeId, @Nullable java.lang.Object sourceVal, @Nullable java.lang.Object argVal)
LibraryBinaryOperation
evaluate
in interface LibraryBinaryOperation
evaluate
in class AbstractBinaryOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |