Class AbstractArithmeticOperator.PreprocessedBinaryOperator
java.lang.Object
org.projog.core.math.AbstractArithmeticOperator.PreprocessedBinaryOperator
- All Implemented Interfaces:
ArithmeticOperator
- Enclosing class:
AbstractArithmeticOperator
private final class AbstractArithmeticOperator.PreprocessedBinaryOperator
extends Object
implements ArithmeticOperator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ArithmeticOperator(package private) final ArithmeticOperator -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
o1
-
o2
-
-
Constructor Details
-
PreprocessedBinaryOperator
PreprocessedBinaryOperator(ArithmeticOperator o1, ArithmeticOperator o2)
-
-
Method Details
-
calculate
Description copied from interface:ArithmeticOperatorReturns the result of the calculation using the specified arguments.- Specified by:
calculatein interfaceArithmeticOperator- Parameters:
args- the arguments to use in the calculation- Returns:
- the result of the calculation using the specified arguments
-