public class Evaluator extends Object
Constructor and Description |
---|
Evaluator() |
Modifier and Type | Method and Description |
---|---|
static int |
evaluate(AST expression) |
static int |
evaluate(int left,
Operator operator,
int right) |
public static int evaluate(int left, Operator operator, int right) throws EvaluatorException
EvaluatorException
public static int evaluate(AST expression) throws EvaluatorException
EvaluatorException