|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.singularsys.aa.SimpleExpr
public class SimpleExpr
Simple implementation of the Expression interface. This class serves to supply the basic functionality required for all expression types.
Field Summary | |
---|---|
protected java.util.Vector |
variables
Vector of all variable names occuring in the expression |
Constructor Summary | |
---|---|
SimpleExpr()
Creates a new instance of SimpleExpression |
Method Summary | |
---|---|
java.lang.Object |
getValue(java.util.Hashtable varValues)
Returns null. |
java.lang.Object |
getValue(java.lang.Object[] varValues)
Returns null. |
java.util.Vector |
getVariables()
Returns variable name Vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector variables
Constructor Detail |
---|
public SimpleExpr()
Method Detail |
---|
public java.util.Vector getVariables()
getVariables
in interface Expression
public java.lang.Object getValue(java.lang.Object[] varValues)
public java.lang.Object getValue(java.util.Hashtable varValues) throws java.lang.Exception
getValue
in interface Expression
varValues
- A hastable containing the variable names as keys, and the
values as objects.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |