Package com.mchange.v2.coalesce
Interface CoalesceChecker
public interface CoalesceChecker
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkCoalesce
(Object a, Object b) int
Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!
-
Method Details
-
checkCoalesce
- Returns:
- true iff a and b should be considered equivalent, so that a Coalescer should simply return whichever Object it considers canonical.
-
coalesceHash
Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!
-