static Map mapValues(O func, Map map) { Map m = similarEmptyMap(map); for (O key : keys(map)) m.put(key, callF(func, map.get(key))); ret m; } static Map mapValues(Map map, IF1 f) { ret mapValues(f, map); } static Map lambdaMapLike mapValues(IF1 f, Map map) { Map m = similarEmptyMap(map); for (A key, B val : map) m.put(key, f.get(val)); ret m; } static Map mapValues(Map map, O func) { ret mapValues(func, map); } ifclass MultiMap static MultiMap mapValues(IF1 func, MultiMap mm) { ret mapMultiMapValues(func, mm); } static MultiMap mapValues(MultiMap mm, IF1 func) { ret mapValues(func, mm); } endif