while (itor.hasNext() && (item = itor.next()))