static LinkedList litlinkedlist(A... a) { new LinkedList l; for (A x : a) l.add(x); ret l; }