map.values().removeAll(Collections.singleton(null));. reference to How to filter "Null" values from HashMap<String, String>?, we can do following for java 8 ...
確定! 回上一頁