|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Arithmetic.PostfixEvaluator
PostfixEvaluator evaluates the result of a postfix expression
Constructor Summary | |
PostfixEvaluator(StringReader r)
Constructor PostfixEvaluator initializes the evaluator |
Method Summary | |
int |
evaluate()
evaluate evaluates the postfix expression to an integer |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PostfixEvaluator(StringReader r)
r
- - the postfix expression to be evaluatedMethod Detail |
public int evaluate()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |