com.mchange.v2.coalesce
Interface CoalesceChecker


public interface CoalesceChecker


Method Summary
 boolean checkCoalesce(Object a, Object b)
           
 int coalesceHash(Object a)
          Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!
 

Method Detail

checkCoalesce

boolean checkCoalesce(Object a,
                      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(Object a)
Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!