com.espertech.esper.type
Class MathArithTypeEnum.SubtractBigDecConvComputer

java.lang.Object
  extended by com.espertech.esper.type.MathArithTypeEnum.SubtractBigDecConvComputer
All Implemented Interfaces:
MathArithTypeEnum.Computer
Enclosing class:
MathArithTypeEnum

public static class MathArithTypeEnum.SubtractBigDecConvComputer
extends java.lang.Object
implements MathArithTypeEnum.Computer

Computer for math op.


Constructor Summary
MathArithTypeEnum.SubtractBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne, SimpleNumberBigDecimalCoercer convTwo)
          Ctor.
 
Method Summary
 java.lang.Number compute(java.lang.Number d1, java.lang.Number d2)
          Computes using the 2 numbers a result number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathArithTypeEnum.SubtractBigDecConvComputer

public MathArithTypeEnum.SubtractBigDecConvComputer(SimpleNumberBigDecimalCoercer convOne,
                                                    SimpleNumberBigDecimalCoercer convTwo)
Ctor.

Parameters:
convOne - convertor for LHS
convTwo - convertor for RHS
Method Detail

compute

public java.lang.Number compute(java.lang.Number d1,
                                java.lang.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 number
d2 - is the second number
Returns:
result

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com