|
||||||||||
| 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.domain.library.AbstractUntypedBinaryOperation
org.eclipse.ocl.examples.domain.library.AbstractSimpleBinaryOperation
org.eclipse.ocl.examples.library.logical.BooleanAndOperation
public class BooleanAndOperation
AndOperation realises the and() library operation.
| Field Summary | |
|---|---|
static BooleanAndOperation |
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 | |
|---|---|
BooleanAndOperation()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
dispatch(DomainEvaluator evaluator,
DomainCallExp callExp,
java.lang.Object sourceValue)
Return the result of evaluating callExp and its arguments upon sourceValue within the environment provided by evaluator. |
java.lang.Boolean |
evaluate(java.lang.Object left,
java.lang.Object right)
|
| Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractSimpleBinaryOperation |
|---|
evaluate, evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NonNull public static final BooleanAndOperation INSTANCE
| Constructor Detail |
|---|
public BooleanAndOperation()
| Method Detail |
|---|
@Nullable
public java.lang.Object dispatch(@NonNull
DomainEvaluator evaluator,
@NonNull
DomainCallExp callExp,
@Nullable
java.lang.Object sourceValue)
LibraryOperationThis invocation evaluates the arguments as required. Derived implementations may implement short circuit processing to skip redundant evlaution of later arguments.
Invocations may bypass dispatch if a derived LibraryOperation such as LibrarySimpleBinaryOperation makes its internal evaluate signature available for use after a type test and cast.
dispatch in interface LibraryOperationdispatch in class AbstractSimpleBinaryOperation
@Nullable
public java.lang.Boolean evaluate(@Nullable
java.lang.Object left,
@Nullable
java.lang.Object right)
evaluate in interface LibrarySimpleBinaryOperationevaluate in class AbstractSimpleBinaryOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||