获取map的值列表,map转化为list
获取map的值列表
Map<String, String> map = new HashMap<String, String>();
map.put("a_k", "a_v");
map.put("b_k", "b_v");
map.put("c_k", "c_v");
List<String> strList = new ArrayList<String>(map.values());
System.out.println(strList.size());