Package com.singularsys.jep.misc
Class FunctionSet
java.lang.Object
com.singularsys.jep.misc.FunctionSet
- All Implemented Interfaces:
JepComponent,Serializable
- Direct Known Subclasses:
StringFunctionSet
Holds a set of functions. These functions can be added to the main Jep function table
by including the set in the Jep constructor.
Jep jep = new Jep(new StringFunctionSet()); would add string functions to Jep.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a light-weight instance suitable for using in multiple threads.voidInitialize the component.put(String key, PostfixMathCommandI value)
-
Field Details
-
functions
-
-
Constructor Details
-
FunctionSet
public FunctionSet()
-
-
Method Details
-
getLightWeightInstance
Description copied from interface:JepComponentGets a light-weight instance suitable for using in multiple threads.- Specified by:
getLightWeightInstancein interfaceJepComponent- Returns:
- either a new instance, null or 'this'.
-
init
Description copied from interface:JepComponentInitialize the component. This method is called whenever a component is added to Jep. Hence, it allows components to keep track of the other components they may rely on.- Specified by:
initin interfaceJepComponent- Parameters:
jep- the current Jep instance
-
get
-
put
-
remove
-