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