📅  最后修改于: 2022-03-11 14:52:29.593000             🧑  作者: Mango
public void iterateUsingEntrySet(Map map) {
for (Map.Entry entry : map.entrySet()) {
System.out.println(entry.getKey() + ":" + entry.getValue());
}
}