Possible Duplicate:
Java Hashmap: How to get key from value?
Bi-directional Map in Java?
I want a key value data structure
to use for Android App. I can use Map<K,V>
, but in Map
I can't get key for particular Value.
Is there any good Java data structure using which I can retrieve key by value and vice-versa.