I have the following situation where I need to remove an element from a stream.
map.entrySet().stream().filter(t -> t.getValue().equals(\"0\")).
map.entrySet().removeIf(entry -> entry.getValue().equals("0"));
You can't do it with streams, but you can do it with the other new methods.
EDIT: even better:
map.values().removeAll(Collections.singleton("0"));