static TreeSet mapToTreeSet(O f, Iterable l) { new TreeSet x; if (l != null) for (O o : l) x.add(callF(f, o)); ret x; } static TreeSet lambdaMapLike mapToTreeSet(IF1 f, Iterable l) { new TreeSet x; if (l != null) for (o : l) x.add(f.get(o)); ret x; } static TreeSet lambdaMapLike mapToTreeSet(Iterable l, IF1 f) { ret mapToTreeSet(f, l); }