public interface EqualityComparator<T>
Object.equals(java.lang.Object) (object equality) and the == operator
(reference equality). It can be used to provide algorithm-specific unordered
comparisons without requiring changes to the object itself.int hashCode(T obj)
obj - The object.obj.