In Java 8 you can use the map.values().removeAll(Collections.singleton(240)); to remove all key/value pairs where value is 240. See these Java 8 tutorials and ...
確定! 回上一頁