map 遍历

for (Map.Entry<String, Object> m : map.entrySet()) {
System.out.println("key:" + m.getKey() + " value:" + m.getValue());
}

posted @ 2021-11-10 07:19  learning豪  阅读(25)  评论(0编辑  收藏  举报