tester
Interface Equivalence<T>
- Type Parameters:
T - The data type for which the equivalence is defined
public interface Equivalence<T>
A function object to represent equivalence relationship
for the given class of data.
- Since:
- March 2, 2009
- Author:
- Viera K. Proulx
|
Method Summary |
boolean |
equivalent(T t1,
T t2)
Determine whether the two given object of the type T
are equivalent. |
equivalent
boolean equivalent(T t1,
T t2)
- Determine whether the two given object of the type
T
are equivalent.
- Parameters:
t1 - this first objectt2 - the second object
- Returns:
- true when the two objects are equivalent.