Java iterate peta dan hapus
map.entrySet().removeIf(e -> <boolean expression>);
Inquisitive Ibex
map.entrySet().removeIf(e -> <boolean expression>);