Map和List的遍历
Map和List的遍历
Map<String,String>遍历
第一种:普遍使用,二次取值
Map<String, String> map = new HashMap<String, String>();
map.put("key1", "value1");
map.put("key2", "value2");
map.put("key3", "value3");
//第一种:普遍使用,二次取值
System.out.
原创
2020-09-28 11:16:33 ·
848 阅读 ·
0 评论