java.lang.Object
exptree.utilities.variablePackage
- All Implemented Interfaces:
- java.io.Serializable
- public class variablePackage
- extends java.lang.Object
- implements java.io.Serializable
Keeps a list of variables available for use in an expressionTree.
To Do: put variables in a HashTable and allow the definition of variables.
- Version:
- 1.1 08/19/2000
|
Constructor Summary |
variablePackage()
Creates instances for each variable in the package. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vars
exptree.variable[] vars
- Stores the variables.
variablePackage
public variablePackage()
- Creates instances for each variable in the package.
getVariables
public exptree.variable[] getVariables()
- Returns the variables available for use.
getVariable
public exptree.variable getVariable(java.lang.String which)
- Returns a variable by its name.