Package com.singularsys.extensions.xjep
Class DirtyThreadSafeRandom
- java.lang.Object
-
- com.singularsys.jep.functions.PostfixMathCommand
-
- com.singularsys.jep.functions.NullaryFunction
-
- com.singularsys.jep.misc.threadsafeeval.ThreadSafeRandom
-
- com.singularsys.extensions.xjep.DirtyThreadSafeRandom
-
- All Implemented Interfaces:
DirtyFunction
,PostfixMathCommandI
,java.io.Serializable
public class DirtyThreadSafeRandom extends ThreadSafeRandom implements DirtyFunction
Version ofThreadSafeRandom
which implementsDirtyFunction
so theExpressionCleaner
does not remove the function. Safe to use in multiple threads.- Since:
- Jep 4.0/Extensions 2.1
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
-
Constructor Summary
Constructors Constructor Description DirtyThreadSafeRandom()
-
Method Summary
-
Methods inherited from class com.singularsys.jep.misc.threadsafeeval.ThreadSafeRandom
eval
-
Methods inherited from class com.singularsys.jep.functions.NullaryFunction
instanceOf, run
-
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
-
-