static LinkedHashSet concatToOrderedSet(Collection... lists) { new LinkedHashSet l; for (Collection list : lists) if (list != null) l.addAll(list); return l; } static LinkedHashSet concatToOrderedSet(Collection> lists) { new LinkedHashSet l; for (Collection list : lists) if (list != null) l.addAll(list); return l; }