|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.library.AbstractFeature org.eclipse.ocl.examples.library.AbstractOperation org.eclipse.ocl.examples.library.AbstractBinaryOperation org.eclipse.ocl.examples.library.numeric.AbstractNumericBinaryOperation org.eclipse.ocl.examples.library.numeric.NumericDivOperation
public class NumericDivOperation
DivOperation realises the div() library operation.
Field Summary | |
---|---|
static NumericDivOperation |
INSTANCE
|
Constructor Summary | |
---|---|
NumericDivOperation()
|
Method Summary | |
---|---|
protected Value |
evaluateInteger(ValueFactory valueFactory,
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.library.AbstractBinaryOperation |
---|
evaluate |
Methods inherited from class org.eclipse.ocl.examples.library.AbstractOperation |
---|
evaluate, evaluateArgument, getNumArguments |
Methods inherited from class org.eclipse.ocl.examples.library.AbstractFeature |
---|
validate |
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.pivot.evaluation.CallableImplementation |
---|
evaluate, validate |
Field Detail |
---|
public static final NumericDivOperation INSTANCE
Constructor Detail |
---|
public NumericDivOperation()
Method Detail |
---|
protected Value evaluateInteger(ValueFactory valueFactory, IntegerValue left, IntegerValue right) throws InvalidValueException
AbstractNumericBinaryOperation
evaluateInteger
in class AbstractNumericBinaryOperation
left
- argumentright
- argument
InvalidValueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |