static A nextFromIterator(Iterator it) { ret it == null || !it.hasNext() ? null : it.next(); }