public interface KeyedElement
KeyedHashSet
. A KeyedElement privides the key which is used to hash
the elements in an KeyedHashSet
.KeyedHashSet
Modifier and Type | Method and Description |
---|---|
boolean |
compare(KeyedElement other)
Compares this element with a specified element
|
Object |
getKey()
Returns the key for this element
|
int |
getKeyHashCode()
Returns the hash code of the key
|
int getKeyHashCode()
boolean compare(KeyedElement other)
other
- the element to compare withObject getKey()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.