|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Keyable<K>
A keyable object can provide an immutable key for this object. It is important for the key to not be mutable and that the key value itself is not changed in the object. If this happens any AutoIndex, or Map using this key will break.
Method Summary | |
---|---|
K |
getKey()
Gets the immutable key for this object. |
Method Detail |
---|
K getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |