static TreeSet concatListsToTreeSet(Collection extends Cl> 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)); }