Class ThreadSafeEle
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.NaryFunction
com.singularsys.jep.functions.Ele
com.singularsys.jep.misc.threadsafeeval.ThreadSafeEle
- All Implemented Interfaces:
LValueI
,PostfixMathCommandI
,Serializable
Thread safe version of the element operation.
- Since:
- Jep 3.5
- Author:
- Richard Morris
- See Also:
-
Field Summary
Fields inherited from class com.singularsys.jep.functions.Ele
indexShift
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Variable
getVariable
(Evaluator pv, ASTVarNode node) Find the variable associated with a node.Methods inherited from class com.singularsys.jep.functions.Ele
checkNumberOfParameters, ele, ele, ele, ele, eval, set
Methods inherited from class com.singularsys.jep.functions.NaryFunction
run
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
-
Constructor Details
-
ThreadSafeEle
public ThreadSafeEle()
-
-
Method Details
-
getVariable
Description copied from class:Ele
Find the variable associated with a node. Overridden by subclasses which require thread-safety.- Overrides:
getVariable
in classEle
- Parameters:
pv
- the evaluatornode
- the node- Returns:
- the variable
-