public static interface LongHash.Strategy
Hash.Strategy
Modifier and Type | Method and Description |
---|---|
boolean |
equals(long a,
long b)
Returns true if the given elements are equal with respect to this hash strategy.
|
int |
hashCode(long e)
Returns the hash code of the specified element with respect to this hash strategy.
|
int hashCode(long e)
e
- an element.boolean equals(long a, long b)
a
- an element.b
- another element.