public class ThreadSafeEvaluator extends FastEvaluator
| Modifier and Type | Field and Description |
|---|---|
protected Jep |
jep |
protected VariableTable |
vt |
trapInfinity, trapNaN, trapNullValues, trapUnsetValues| Constructor and Description |
|---|
ThreadSafeEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
Variable |
getVariable(java.lang.String name) |
void |
init(Jep jep1)
Initialize the component.
|
java.lang.Object |
visitVar(Node node) |
eval, evaluate, isTrapInfinity, isTrapNaN, isTrapNullValues, isTrapUnsetValues, nodeAccept, setTrapInfinity, setTrapNaN, setTrapNullValues, setTrapUnsetValues, visit, visit, visit, visit, visitConstant, visitFunprotected Jep jep
protected VariableTable vt
public void init(Jep jep1)
JepComponentinit in interface JepComponentinit in class FastEvaluatorjep1 - the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponentgetLightWeightInstance in interface JepComponentgetLightWeightInstance in class FastEvaluatorpublic Variable getVariable(java.lang.String name)
public java.lang.Object visitVar(Node node) throws EvaluationException
visitVar in class FastEvaluatorEvaluationExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep