public class FunctionSet extends java.lang.Object implements JepComponent
Jep jep = new Jep(new StringFunctionSet());
would add string functions to Jep.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,PostfixMathCommandI> |
functions |
Constructor and Description |
---|
FunctionSet() |
Modifier and Type | Method and Description |
---|---|
PostfixMathCommandI |
get(java.lang.Object key) |
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
void |
init(Jep jep)
Initialize the component.
|
PostfixMathCommandI |
put(java.lang.String key,
PostfixMathCommandI value) |
PostfixMathCommandI |
remove(java.lang.Object key) |
protected java.util.Map<java.lang.String,PostfixMathCommandI> functions
public JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance
in interface JepComponent
public void init(Jep jep)
JepComponent
init
in interface JepComponent
jep
- the current Jep instancepublic PostfixMathCommandI get(java.lang.Object key)
public PostfixMathCommandI put(java.lang.String key, PostfixMathCommandI value)
public PostfixMathCommandI remove(java.lang.Object key)
Copyright © 2018 Singular Systems http://www.singularsys.com/jep