sbrt.kernel.math
Interface EquivTester<T>

Type Parameters:
T - the class type.
All Known Implementing Classes:
DoubleEquiv, IntervalEquiv

public interface EquivTester<T>

This interface is used to represent equivalence testers.

Author:
This interface was written by Jeremiah Wright while in the Wagner lab.

Method Summary
<A extends T,B extends T>
boolean
areEquiv(A o1, B o2)
          Tests the provided objects for equivalence.
 

Method Detail

areEquiv

<A extends T,B extends T> boolean areEquiv(A o1,
                                           B o2)
Tests the provided objects for equivalence.

Type Parameters:
A - a type extending T.
B - a type extending T.
Parameters:
o1 - an object.
o2 - another object.
Returns:
true if the provided objects are equivalent; false otherwise.