|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ShortHash.Strategy
A type-specific hash strategy.
ShortHash.Strategy
Method Summary | |
---|---|
boolean |
equals(short a,
short b)
Returns true if the given elements are equal with respect to this hash strategy. |
int |
hashCode(short e)
Returns the hash code of the specified element with respect to this hash strategy. |
Method Detail |
---|
int hashCode(short e)
e
- an element.
boolean equals(short a, short b)
a
- an element.b
- another element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |