|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
com.elegantj.data.parser.FunctionTable
A FunctionTable class represents the set of function's definations.
| Constructor Summary | |
FunctionTable()
Creates a FunctionTable with empty set of function's definations. |
|
| Method Summary | |
java.lang.Object |
addFunction(java.lang.String funIdent_in,
PostfixMathCommandI pfmc_in)
Adds the function defination |
boolean |
containsFunction(PostfixMathCommandI pfmc_in)
Returns true if this function table maps one or more identifiers to this command method. |
boolean |
containsFunIdent(java.lang.String funIdent_in)
Tests if the specified string is an identifier in this function table. |
java.util.Enumeration |
functions()
Returns an enumeration of the function definations in the function table |
java.lang.Object |
removeFunction(java.lang.String funIdent_in)
Removes the function defination |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FunctionTable()
| Method Detail |
public java.lang.Object addFunction(java.lang.String funIdent_in,
PostfixMathCommandI pfmc_in)
funIdent_in - identifier of the functionpfmc_in - the command mathod to be executedpublic java.lang.Object removeFunction(java.lang.String funIdent_in)
funIdent_in - identifier of the functionpublic java.util.Enumeration functions()
public boolean containsFunIdent(java.lang.String funIdent_in)
funIdent_in - the function identifier
public boolean containsFunction(PostfixMathCommandI pfmc_in)
pfmc_in - value command method whose presence in this function table is to be tested
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||