com.monica.javacom.interfaces
Interface MJCEquality

All Known Implementing Classes:
MJCIntegerEquality

public interface MJCEquality

Provides functionality to compare Objects.


Method Summary
 boolean equalsTo(java.lang.Object o1, java.lang.Object o2)
          Returns wether the two specified Obejcts o1 and o2 are equal according to the implemented criteria.
 

Method Detail

equalsTo

public boolean equalsTo(java.lang.Object o1,
                        java.lang.Object o2)
Returns wether the two specified Obejcts o1 and o2 are equal according to the implemented criteria.
Parameters:
Object - o1: the first Object
Object - o2: the second Object
Returns:
boolean: wether o1 and o2 are equal