map.put("a", ""); · map.put("c", ""); · Set<String> set = new HashSet<> (); · set.add("b"); · map.keySet().removeAll(set); · System.out.println(map); //only contains ...
確定! 回上一頁