public class AddOperator extends AbstractNumericOperator
| Constructor and Description |
|---|
AddOperator() |
| Modifier and Type | Method and Description |
|---|---|
Number |
evaluate(Number number1,
Number number2) |
int |
getLevel() |
boolean |
isAssociative()
Defines, whether the operation is associative.
|
boolean |
isLeftOperation()
Defines the bind-direction of the operator.
|
String |
toString() |
evaluatepublic int getLevel()
public boolean isLeftOperation()
InfixOperatorpublic boolean isAssociative()