static void syncMapRemove(Map map, A key) { if (map != null && key != null) synchronized(collectionMutex(map)) { map.remove(key); } }