public class MultiplyOperator extends java.lang.Object implements BinaryOperator
| Modifier and Type | Field and Description |
|---|---|
static MultiplyOperator |
INSTANCE
Multiply operator singleton.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
apply(Value firstOperand,
Value secondOperand)
Applies this operator to the given operands.
|
public static final MultiplyOperator INSTANCE
public Value apply(Value firstOperand, Value secondOperand)
BinaryOperatorapply in interface BinaryOperatorfirstOperand - the first operand to apply this operator to.secondOperand - the second operand to apply this operator to.