Java Usuń mapę

map.entrySet().removeIf(e -> <boolean expression>);
Inquisitive Ibex