📅  最后修改于: 2022-03-11 14:52:33.964000             🧑  作者: Mango
Map map = new HashMap();
for (Map.Entry entry : map.entrySet()) {
System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}