com.espertech.esper.type
Class MathArithTypeEnum.SubtractDouble
java.lang.Object
com.espertech.esper.type.MathArithTypeEnum.SubtractDouble
- All Implemented Interfaces:
- MathArithTypeEnum.Computer
- Enclosing class:
- MathArithTypeEnum
public static class MathArithTypeEnum.SubtractDouble
- extends Object
- implements MathArithTypeEnum.Computer
Computer for type-specific arith. operations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MathArithTypeEnum.SubtractDouble
public MathArithTypeEnum.SubtractDouble()
compute
public Number compute(Number d1,
Number d2)
- Description copied from interface:
MathArithTypeEnum.Computer
- Computes using the 2 numbers a result number.
- Specified by:
compute
in interface MathArithTypeEnum.Computer
- Parameters:
d1
- is the first numberd2
- is the second number
- Returns:
- result