Top Methods
com.mchange.v2.coalesce

public Interface CoalesceChecker


Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true iff a and b should be considered equivalent, so that a Coalescer should simply return whichever Object it considers canonical.
checkCoalesce
(Object a, Object b)

public int
coalesceHash(Object a)

Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!

Method Detail

checkCoalesceback to summary
public boolean checkCoalesce(Object a, Object b)
Returns:boolean

true iff a and b should be considered equivalent, so that a Coalescer should simply return whichever Object it considers canonical.

coalesceHashback to summary
public int coalesceHash(Object a)

Any two objects for which checkCoalese() would return true must coalesce hash to the same value!!!