static L longIteratorToList(LongIterator it) { new LongBuffer buf; if (it != null) while (it.hasNext()) buf.add(it.next()); ret buf.asVirtualList(); }