|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeyComparator<K>
A key comparator.
| Method Summary | |
|---|---|
boolean |
equals(K x,
K y)
Compare two keys for equality. |
int |
hash(K k)
Get the hash code of a key. |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Method Detail |
|---|
boolean equals(K x,
K y)
x - the first keyy - the second key
int hash(K k)
k - the key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||