gnu.trove
public final class TObjectIdentityHashingStrategy extends Object implements TObjectHashingStrategy
Version: $Id: TObjectIdentityHashingStrategy.java,v 1.2 2002/08/18 19:14:28 ericdf Exp $
Method Summary | |
---|---|
int | computeHashCode(Object object)
Delegates hash code computation to the System.identityHashCode(Object) method.
|
boolean | equals(Object o1, Object o2)
Compares object references for equality.
|
Parameters: object for which the hashcode is to be computed
Returns: the hashCode
Parameters: o1 an Object
value o2 an Object
value
Returns: true if o1 == o2