static void mapRemoveAll(Map map, A... keys) { if (map != null) for (A a : keys) map.remove(a); }