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