📜  java代码示例中的地图交互

📅  最后修改于: 2022-03-11 14:52:33.964000             🧑  作者: Mango

代码示例3
Map map = new HashMap();
for (Map.Entry entry : map.entrySet()) {
    System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}