public interface TObjectHashingStrategy<T> extends java.io.Serializable, Equality<T>
| Modifier and Type | Field and Description |
|---|---|
static TObjectHashingStrategy |
CANONICAL |
static TObjectHashingStrategy |
IDENTITY |
| Modifier and Type | Method and Description |
|---|---|
int |
computeHashCode(T object)
Computes a hash code for the specified object.
|
boolean |
equals(T o1,
T o2)
Compares o1 and o2 for equality.
|
static final TObjectHashingStrategy IDENTITY
static final TObjectHashingStrategy CANONICAL
int computeHashCode(T object)
object - for which the hashcode is to be computed