com.espertech.esper.type
Interface MathArithTypeEnum.Computer

All Known Implementing Classes:
MathArithTypeEnum.AddBigDec, MathArithTypeEnum.AddBigDecConvComputer, MathArithTypeEnum.AddBigInt, MathArithTypeEnum.AddBigIntConvComputer, MathArithTypeEnum.AddByte, MathArithTypeEnum.AddDouble, MathArithTypeEnum.AddFloat, MathArithTypeEnum.AddInt, MathArithTypeEnum.AddLong, MathArithTypeEnum.AddShort, MathArithTypeEnum.DivideBigDec, MathArithTypeEnum.DivideBigDecConvComputer, MathArithTypeEnum.DivideBigDecWMathContext, MathArithTypeEnum.DivideBigInt, MathArithTypeEnum.DivideBigIntConvComputer, MathArithTypeEnum.DivideDouble, MathArithTypeEnum.DivideFloat, MathArithTypeEnum.DivideInt, MathArithTypeEnum.DivideLong, MathArithTypeEnum.ModuloDouble, MathArithTypeEnum.ModuloFloat, MathArithTypeEnum.ModuloInt, MathArithTypeEnum.ModuloLong, MathArithTypeEnum.MultiplyBigDec, MathArithTypeEnum.MultiplyBigDecConvComputer, MathArithTypeEnum.MultiplyBigInt, MathArithTypeEnum.MultiplyBigIntConvComputer, MathArithTypeEnum.MultiplyDouble, MathArithTypeEnum.MultiplyFloat, MathArithTypeEnum.MultiplyInt, MathArithTypeEnum.MultiplyLong, MathArithTypeEnum.SubtractBigDec, MathArithTypeEnum.SubtractBigDecConvComputer, MathArithTypeEnum.SubtractBigInt, MathArithTypeEnum.SubtractBigIntConvComputer, MathArithTypeEnum.SubtractDouble, MathArithTypeEnum.SubtractFloat, MathArithTypeEnum.SubtractInt, MathArithTypeEnum.SubtractLong
Enclosing class:
MathArithTypeEnum

public static interface MathArithTypeEnum.Computer

Interface for number cruncher.


Method Summary
 java.lang.Number compute(java.lang.Number d1, java.lang.Number d2)
          Computes using the 2 numbers a result number.
 

Method Detail

compute

java.lang.Number compute(java.lang.Number d1,
                         java.lang.Number d2)
Computes using the 2 numbers a result number.

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