|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyedElement
An element of an KeyedHashSet
. A KeyedElement privides the key which is used to hash
the elements in an KeyedHashSet
.
KeyedHashSet
Method Summary | |
---|---|
boolean |
compare(KeyedElement other)
Compares this element with a specified element |
java.lang.Object |
getKey()
Returns the key for this element |
int |
getKeyHashCode()
Returns the hash code of the key |
Method Detail |
---|
int getKeyHashCode()
boolean compare(KeyedElement other)
other
- the element to compare with
java.lang.Object getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |