static void mapLike transformValueInPlace(O f, Map map, A key) { if (f != null && map != null && map.containsKey(key)) map.put(key, (B) callF(f, map.get(key))); }