public class IdentityKeyFunction<E> extends java.lang.Object implements KeyFunction<E,E>
IdentityKeyFunction is a KeyFunction where the value can be used as a key.
This is useful in DerivedKeyHashMap instances where the value defines equals()
and hashCode() methods that only use the key.
| Constructor and Description |
|---|
IdentityKeyFunction() |
| Modifier and Type | Method and Description |
|---|---|
E |
key(E value) |