If I have the value \"foo\", and a HashMap ftw for which ftw.containsValue(\"foo\") returns true, how can I
\"foo\"
HashMap ftw
ftw.containsValue(\"foo\")
true
To find all the keys that map to that value, iterate through all the pairs in the hashmap, using map.entrySet().
map.entrySet()