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