public interface Operator extends Operation
| Modifier and Type | Method and Description |
|---|---|
Num |
calc(AbstractCalculator calc,
Num operandLeft,
Num operandRight)
Calculate value for implemented operator
|
int |
getPriority()
Define operator priority during calculation.
|
int getPriority()
Num calc(AbstractCalculator calc, Num operandLeft, Num operandRight) throws java.lang.Exception
calc - operandLeft - operandRight - java.lang.ExceptionJCalc API 2014 Davor Sauer - Apache 2.0