OperatorOverloader.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final StandardOperatorOverloader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | operate(Operation
the operation to be performed operation, Object the left operand leftOperand, Object the right operand rightOperand)Implements org. |
| public boolean | overridesOperation(Operation
the operation to be performed operation, Object the left operand leftOperand, Object the right operand rightOperand)Implements org. true if this operator overloader supports the specified
operation on the two operands and should be invoked to handle it.
|
| INSTANCE | back to summary |
|---|---|
| pack-priv static final StandardOperatorOverloader INSTANCE | |
| StandardOperatorOverloader | back to summary |
|---|---|
| public StandardOperatorOverloader() | |
| operate | back to summary |
|---|---|
| public Object operate(Operation operation, Object leftOperand, Object rightOperand) throws EvaluationException Implements org. Doc from org. Perform the specified operation on the two operands, returning a result. See
| |
| overridesOperation | back to summary |
|---|---|
| public boolean overridesOperation(Operation operation, Object leftOperand, Object rightOperand) throws EvaluationException Implements org. Doc from org. Return
| |