Class BigDecSub
- java.lang.Object
-
- com.singularsys.jep.functions.PostfixMathCommand
-
- com.singularsys.jep.functions.BinaryFunction
-
- com.singularsys.jep.functions.Subtract
-
- com.singularsys.jep.bigdecimal.functions.BigDecSub
-
- All Implemented Interfaces:
PostfixMathCommandI
,RealBinaryFunction
,java.io.Serializable
public class BigDecSub extends Subtract
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
-
Constructor Summary
Constructors Constructor Description BigDecSub(java.math.MathContext mc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.MathContext
getMathContext()
void
setMathContext(java.math.MathContext mc)
java.lang.Object
sub(java.lang.Object l, java.lang.Object r)
-
Methods inherited from class com.singularsys.jep.functions.Subtract
eval, evaluate, sub, sub, sub, sub, sub
-
Methods inherited from class com.singularsys.jep.functions.BinaryFunction
instanceOf, 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
-
-
-
-
Method Detail
-
sub
public java.lang.Object sub(java.lang.Object l, java.lang.Object r) throws EvaluationException
- Overrides:
sub
in classSubtract
- Throws:
EvaluationException
-
getMathContext
public java.math.MathContext getMathContext()
-
setMathContext
public void setMathContext(java.math.MathContext mc)
-
-