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) { ret mapToTreeSet((O) f, l); }