|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.expression.FunctionTable
public class FunctionTable
Function table that allows lookup of registered FunctionExpressions by their function name.
| Method Summary | |
|---|---|
static void |
addFunction(java.lang.String name,
java.lang.Class type)
Add a function to the function table. |
static Function |
createFunction(java.lang.String name)
Get a new Function instance for the function with the given name. |
static boolean |
hasFunction(java.lang.String name)
Indicates if a function of the given name is included in the function table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean hasFunction(java.lang.String name)
name - the function name
public static void addFunction(java.lang.String name,
java.lang.Class type)
name - the name of the function. This name must not already
be registered in the table, i.e. there is no function overloading.type - the Class instance of the function itselfpublic static Function createFunction(java.lang.String name)
name - the name of the function to create
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||