public class DivideOperator extends AbstractNumericOperator
| Constructor and Description |
|---|
DivideOperator() |
| 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 Number evaluate(Number number1, Number number2) throws EvaluationException
EvaluationExceptionpublic int getLevel()
public boolean isLeftOperation()
InfixOperatorpublic boolean isAssociative()