static L uniquifyList(Collection l) { if (l(l) < 2) ret asList(l); new HashSet set; new L out; for (A a : unnull(l)) if (set.add(a)) out.add(a); ret out; }