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
for(int key: hm.keySet()) { if(hm.get(key).equals(value)) { System.out.println(key); } }