|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
org.nfunk.jep.SymbolTable
org.lsmp.djep.xjep.XSymbolTable
public class XSymbolTable
An extension of the symbol table with a few new features.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.nfunk.jep.SymbolTable |
|---|
SymbolTable.StObservable |
| Field Summary |
|---|
| Fields inherited from class org.nfunk.jep.SymbolTable |
|---|
obeservable |
| Constructor Summary | |
|---|---|
XSymbolTable(VariableFactory varFac)
Create a new XSymbolTable with the given variable factory. |
|
| Method Summary | |
|---|---|
void |
copyConstants(SymbolTable symTab)
Copy the values of all constants into this from the supplied symbol table. |
SymbolTable |
newInstance()
Creates a new SymbolTable with the same variable factory as this. |
void |
print(PrintVisitor pv)
Prints the contents of the symbol table displaying its equations and value. |
| Methods inherited from class org.nfunk.jep.SymbolTable |
|---|
addConstant, addObserver, addObserverToExistingVariables, addVariable, clearNonConstants, clearValues, countObservers, createVariable, createVariable, deleteObserver, deleteObservers, get, getValue, getVar, getVariableFactory, hasChanged, makeVarIfNeeded, makeVarIfNeeded, put, setVarValue, toString |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XSymbolTable(VariableFactory varFac)
| Method Detail |
|---|
public SymbolTable newInstance()
public void print(PrintVisitor pv)
public void copyConstants(SymbolTable symTab)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||