static L iteratorToList(Iterator i) { new L l; while (i.hasNext()) l.add(i.next()); ret l; }