All Packages Class Hierarchy This Package Previous Next Index
Class term.VariableTable
java.lang.Object
|
+----term.VariableTable
- public class VariableTable
- extends Object
A Hashtable to store variable values.
-
VariableTable()
- Constructor builds a new Hashtable.
-
addVariable(String, BigDecimal)
- Adds a new Variable with the given value.
-
addVariable(String, TermBaum)
- Enter a new variable with the given Term value or change
the existing value.
-
elements()
- Returns an Enumeration of all variable names stored in the hashtable.
-
getValue(String)
- Returns the value of the variable or null if no value is stored.
-
removeVariable(String)
- Removes the given variable from the hashtable returning the
old value if it existed (otherwise null).
VariableTable
public VariableTable()
- Constructor builds a new Hashtable.
addVariable
public void addVariable(String name,
BigDecimal value)
- Adds a new Variable with the given value.
addVariable
public void addVariable(String name,
TermBaum value)
- Enter a new variable with the given Term value or change
the existing value.
elements
public Enumeration elements()
- Returns an Enumeration of all variable names stored in the hashtable.
getValue
public TermBaum getValue(String name)
- Returns the value of the variable or null if no value is stored.
removeVariable
public TermBaum removeVariable(String name)
- Removes the given variable from the hashtable returning the
old value if it existed (otherwise null).
All Packages Class Hierarchy This Package Previous Next Index