遍历map

来源:互联网 发布:电脑上打轴的软件 编辑:程序博客网 时间:2024/04/28 16:48
Set<Entry<String, String>> entries = testData.entrySet();for (Entry<String, String> entry : entries) {             System.out.println(entry.getKey()+":"+entry.getValue())}
0 0