通过Map.entrySet遍历key和value,尤其是容量大时 for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println("key= " + entry.
確定! 回上一頁