tesl
Interface TagCalculus<T>

Type Parameters:
T -
All Known Implementing Classes:
IntegerCalc, LongCalc, RoundDouble, UnitCalc

public interface TagCalculus<T>

A TagCalculs performs operations on clock tags of type T. It is used to implement consistent calculus on tags in order to avoid discrepancies caused for instance by rounding errors when using doubles.

Author:
boulange

Method Summary
 T add(T a, T b)
           
 T divide(T a, T b)
           
 T multiply(T a, T b)
           
 T subtract(T a, T b)
           
 

Method Detail

add

T add(T a,
      T b)

subtract

T subtract(T a,
           T b)

multiply

T multiply(T a,
           T b)

divide

T divide(T a,
         T b)