|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basic methods in a simple expression.
Only constants and four binary operations are implemented.
Parentheses may be used witout any limitation.
Jan 2002 First version 30.8.2002 redesigned 23.12.2002 package 4.7.2003 NetBeans
| Method Summary | |
float |
fValue()
Returns float value of this Expression |
java.lang.String |
toPostfix()
Converts this Expression to postfix (RPN) |
java.lang.String |
toString()
String representation of this Expression |
java.lang.Object |
toTree()
Converts this Expression to tree **implement this**. |
| Method Detail |
public float fValue()
public java.lang.String toString()
public java.lang.String toPostfix()
public java.lang.Object toTree()
Tree may be in text form or a JTree.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||