I need a data structure to store string-int value pairs in an 1:1 relationship, and being able too look up from either way their counterpart.
I wrote a class with a
Create a hashmap that maps Object to Object - then you can use the same map to store String -> Integer and Integer -> String.
When you add a string/int pair just add it both ways to the same map.