public class FunctionTable
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static boolean hasFunction(java.lang.String name)
name - the function namepublic 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