static TreeSet concatListsToTreeSet(Collection> lists) { new TreeSet l; for (Cl list : lists) if (list != null) l.addAll(list); ret l; } static TreeSet concatListsToTreeSet(Cl... lists) { ret concatListsToTreeSet(asList(lists)); }