Package de.espirit.common.util
Interface AlikenessComparator<T>
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.
- Since:
- 4.2.7
-
Method Summary
-
Method Details
-
alike
Compare given elements for alikeness.- Parameters:
first
- The first element.second
- The second element.- Returns:
true
, if both elements are alike.- Since:
- 4.2.7
-