static > Set concatMapToSet(Iterable l, IF1 f) { new Set set; if (l != null) for (a : l) addAll(set, f.get(a)); ret set; } static > Set lambdaMapLike concatMapToSet(IF1 f, Iterable l) { ret concatMapToSet(l, f); } static > Set lambdaMapLike concatMapToSet(IF1 f, A[] l) { new Set set; if (l != null) for (a : l) addAll(set, f.get(a)); ret set; }