Top Fields Constructors Methods
com.mchange.v2.c3p0.impl

public final Class IdentityTokenizedCoalesceChecker

extends Object
implements CoalesceChecker
Class Inheritance
All Implemented Interfaces
com.mchange.v2.coalesce.CoalesceChecker
Imports
com.mchange.v2.coalesce.*

Field Summary

Modifier and TypeField and Description
public static IdentityTokenizedCoalesceChecker

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public int
coalesceHash(Object a)

Implements com.mchange.v2.coalesce.CoalesceChecker.coalesceHash.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static IdentityTokenizedCoalesceChecker INSTANCE

Constructor Detail

IdentityTokenizedCoalesceCheckerback to summary
private IdentityTokenizedCoalesceChecker()

Method Detail

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

Implements com.mchange.v2.coalesce.CoalesceChecker.checkCoalesce.

Returns:boolean

Doc from com.mchange.v2.coalesce.CoalesceChecker.checkCoalesce.

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)

Implements com.mchange.v2.coalesce.CoalesceChecker.coalesceHash.

Doc from com.mchange.v2.coalesce.CoalesceChecker.coalesceHash.

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