To clarify, you will have some kind of card with the following key pairs: value:
Map<String, String> map = new HashMap<String, String>(); map.put("foo", "Freddy"); map.put("bar", "Bobby");
Then would you like to make map.get ("foo") and get Freddy, or do map.get ("freddy") and get foo?
If so, check this post .
j.snyder
source share