public final class TObjectIdentityHashingStrategy<T> extends Objectimplements TObjectHashingStrategy <T>
| 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
public final boolean equals(T o1, T o2)
equals in interface
TObjectHashingStrategy<T>
o1 - an
Object value
o2 - an
Object value