|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.qproc.FunctionTable
public class FunctionTable
Class containing a HashMap that keeps the function names.
| Constructor Summary | |
|---|---|
FunctionTable()
Constructs a FunctionTable object representing an empty table. |
|
FunctionTable(BuiltInFunction[] fs,
java.lang.String[] names)
Constructs a FunctionTable object. |
|
| Method Summary | |
|---|---|
void |
addFunction(java.lang.String name,
BuiltInFunction f)
Adds a string and function pair to the table. |
BuiltInFunction |
getFunction(java.lang.String name)
Returns the BuiltInFunction corresponding to the string name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionTable()
public FunctionTable(BuiltInFunction[] fs,
java.lang.String[] names)
| Method Detail |
|---|
public BuiltInFunction getFunction(java.lang.String name)
public void addFunction(java.lang.String name,
BuiltInFunction f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||