|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.numeric.AbstractNumericBinaryOperation
org.eclipse.ocl.examples.library.numeric.NumericModOperation
public class NumericModOperation
ModOperation realises the mod() library operation.
| Field Summary | |
|---|---|
static NumericModOperation |
INSTANCE
|
| Constructor Summary | |
|---|---|
NumericModOperation()
|
|
| Method Summary | |
|---|---|
protected Value |
evaluateInteger(DomainEvaluator evaluator,
IntegerValue left,
IntegerValue right)
Evaluate an operation for which both left and right are Integer. |
| Methods inherited from class org.eclipse.ocl.examples.library.numeric.AbstractNumericBinaryOperation |
|---|
evaluate, evaluate, evaluateReal, evaluateUnlimited |
| Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractBinaryOperation |
|---|
evaluate |
| Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractOperation |
|---|
argumentsMayBeInvalid |
| Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractFeature |
|---|
getLibraryValidator, getValidator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.domain.library.LibraryOperation |
|---|
argumentsMayBeInvalid |
| Methods inherited from interface org.eclipse.ocl.examples.domain.library.LibraryFeature |
|---|
getValidator |
| Field Detail |
|---|
public static final NumericModOperation INSTANCE
| Constructor Detail |
|---|
public NumericModOperation()
| Method Detail |
|---|
protected Value evaluateInteger(DomainEvaluator evaluator,
IntegerValue left,
IntegerValue right)
throws InvalidValueException
AbstractNumericBinaryOperation
evaluateInteger in class AbstractNumericBinaryOperationleft - argumentright - argument
InvalidValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||