|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--OperatorTable | +--ArithmeticOperatorTable
Class which represents all of the operators that may be allowed in a simple
arithmetic equation. + (AdditionOperator),
* (MultiplicationOperator),
/ (DivisionOperator),
- (SubtractionOperator), and
- (NegationOperator)).
Also to demonstrate the capacity of multiple character delimiters in
AdaptedStringTokenizer the operator
SineOperator is also included.
Fields inherited from class OperatorTable |
capacity,
operators,
size |
Constructor Summary | |
ArithmeticOperatorTable()
Constructs a new OperatorTable with the appropriate entries. |
Methods inherited from class OperatorTable |
add,
getTokens,
isAnOperator,
operatorFor |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ArithmeticOperatorTable()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |