Package com.singularsys.jep.misc.threadsafeeval

# 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`

public class ThreadSafeEle extends Ele
Thread safe version of the element operation.

Since:
  Jep 3.5
Author:
  Richard Morris
See Also:
  - `Ele`
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class com.singularsys.jep.functions.Ele

  `indexShift`

  ### Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand

  `curNumberOfParameters, description, name, NaN, numberOfParameters`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThreadSafeEle()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected 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, findIndex, 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, asType, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ThreadSafeEle

    public ThreadSafeEle()

- ## Method Details

  - ### getVariable

    protected Variable getVariable(Evaluator pv, ASTVarNode node)
    Description copied from class: `Ele`
    Find the variable associated with a node. Overridden by subclasses which require thread-safety.
    Overrides:
      `getVariable` in class `Ele`
    Parameters:
      `pv` - the evaluator
      `node` - the node
    Returns:
      the variable