📅  最后修改于: 2022-03-11 14:52:25.699000             🧑  作者: Mango
Map map = new HashMap();
map.put("abc", "123");
map.put("xyz", "456");
for(Entry entry : map.entrySet()) {
if(entry.getValue().equalsIgnoreCase("456")) {
System.out.println(entry.getKey());
}
}