net.sf.molae.logic.tools
Interface EqualityTest

All Known Implementing Classes:
DefaultEqualityTest, ObjectEquals

public interface EqualityTest

Defines if two objects are equal or not independent from the standard equals method.

Since:
1.1

Method Summary
 boolean areEqual(Object o1, Object o2)
          Checks if the two specified objects are regarded equal.
 

Method Detail

areEqual

public boolean areEqual(Object o1,
                        Object o2)
Checks if the two specified objects are regarded equal.
Parameters:
o1 - first object to compare
o2 - second object to compare
Returns:
true if the two specified objects are regarded equal.