public interface AlikenessComparator<T>
Comparator providing means for alikeness. In contrast to equality, compared objects must not be equal in all regards (depending on their semantics) nor are they required to provide the same hash code.
alikeCompare given elements for alikeness.
first- The first element.
second- The second element.
true, if both elements are alike.