|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--freegraph.ExpressionItem
|
+--freegraph.ExpressionItem.Variable
A VariableExpressionItem is an ExpressionItem used to hold a single character variable.
| Nested Class Summary |
| Nested classes inherited from class freegraph.ExpressionItem |
ExpressionItem.BiOperator, ExpressionItem.Number, ExpressionItem.Parenthesis, ExpressionItem.UnOperator, ExpressionItem.Variable |
| Constructor Summary | |
ExpressionItem.Variable(char value)
|
|
| Method Summary | |
int |
getAction(ExpressionItem exprItem)
always moves this to RPN stack. |
char |
getVariable()
returns the character for this variable |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExpressionItem.Variable(char value)
| Method Detail |
public char getVariable()
public int getAction(ExpressionItem exprItem)
getAction in class ExpressionItempublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||