net.esper.type
Class ArithTypeEnum.AddLong

java.lang.Object
  extended by net.esper.type.ArithTypeEnum.AddLong
All Implemented Interfaces:
ArithTypeEnum.Computer
Enclosing class:
ArithTypeEnum

public static class ArithTypeEnum.AddLong
extends java.lang.Object
implements ArithTypeEnum.Computer

Computer for type-specific arith. operations.


Constructor Summary
ArithTypeEnum.AddLong()
           
 
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

ArithTypeEnum.AddLong

public ArithTypeEnum.AddLong()
Method Detail

compute

public java.lang.Number compute(java.lang.Number d1,
                                java.lang.Number d2)
Description copied from interface: ArithTypeEnum.Computer
Computes using the 2 numbers a result number.

Specified by:
compute in interface ArithTypeEnum.Computer
Parameters:
d1 - is the first number
d2 - is the second number
Returns:
result