|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.formula.Postfix
represents a formula in postfix notation.
| Field Summary | |
(package private) static int |
BINARY
code for binary operator |
(package private) int[] |
codes
postfix codes representing token types |
(package private) static int |
FUNC
code for function name |
(package private) static int |
FUNCCONST
code for constant that represents number of function arguments |
(package private) static int |
OTHER
code for variable, constant, or other |
(package private) String[] |
tokens
postfix tokens |
(package private) static int |
UNARY
code for unary operator |
| Constructor Summary | |
(package private) |
Postfix(String formula,
FormulaManager fm)
construct a Postfix object by converting infix formula |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final int BINARY
static final int UNARY
static final int FUNC
static final int FUNCCONST
static final int OTHER
String[] tokens
int[] codes
| Constructor Detail |
Postfix(String formula,
FormulaManager fm)
throws FormulaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||