public final class TObjectIdentityHashingStrategy<T> extends java.lang.Object implements TObjectHashingStrategy<T>
CANONICAL, IDENTITY| Constructor and Description |
|---|
TObjectIdentityHashingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode(T object)
Delegates hash code computation to the System.identityHashCode(Object) method.
|
boolean |
equals(T o1,
T o2)
Compares object references for equality.
|
public final int computeHashCode(T object)
computeHashCode in interface TObjectHashingStrategy<T>object - for which the hashcode is to be computed