Class IdentityKeyFunction<E>
- java.lang.Object
-
- com.github.andrewoma.dexx.collection.IdentityKeyFunction<E>
-
- All Implemented Interfaces:
KeyFunction<E,E>
public class IdentityKeyFunction<E> extends java.lang.Object implements KeyFunction<E,E>
IdentityKeyFunctionis aKeyFunctionwhere the value can be used as a key.This is useful in
DerivedKeyHashMapinstances where the value definesequals()andhashCode()methods that only use the key.
-
-
Constructor Summary
Constructors Constructor Description IdentityKeyFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ekey(E value)
-