static LL chunksOf(Collection c, int n) { new LL out; Iterator it = iterator(c); L l = new L(n); while (it.hasNext()) { l.add(it.next()); if (l(l) >= n) { out.add(l); l = new L(n); } } if (nempty(l)) out.add(l); ret out; }