I have a map which stores a key pair value. key is a integer and the corresponding value is an array of strings. I want to implement a bi-directional map in such a way that if I pass any one value in an array, it should return me the corresponding integer value.
If someone can provide some sample code, please do..
I have tried the BidiMap in apache commons-collections, but didn't help