net.esper.type
Interface MathArithTypeEnum.Computer

All Known Implementing Classes:
MathArithTypeEnum.AddDouble, MathArithTypeEnum.AddFloat, MathArithTypeEnum.AddInt, MathArithTypeEnum.AddLong, MathArithTypeEnum.DivideDouble, MathArithTypeEnum.DivideFloat, MathArithTypeEnum.DivideInt, MathArithTypeEnum.DivideLong, MathArithTypeEnum.ModuloDouble, MathArithTypeEnum.ModuloFloat, MathArithTypeEnum.ModuloInt, MathArithTypeEnum.ModuloLong, MathArithTypeEnum.MultiplyDouble, MathArithTypeEnum.MultiplyFloat, MathArithTypeEnum.MultiplyInt, MathArithTypeEnum.MultiplyLong, MathArithTypeEnum.SubtractDouble, MathArithTypeEnum.SubtractFloat, MathArithTypeEnum.SubtractInt, MathArithTypeEnum.SubtractLong
Enclosing class:
MathArithTypeEnum

public static interface MathArithTypeEnum.Computer

Interface for number cruncher.


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

Method Detail

compute

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

Parameters:
d1 - is the first number
d2 - is the second number
Returns:
result