InfiniteIterator::next Moves the inner Iterator forward or rewinds it &reftitle.description; public voidInfiniteIterator::next Moves the inner Iterator forward to its next element if there is one, otherwise rewinds the inner Iterator back to the beginning. Even an InfiniteIterator stops if its inner Iterator is empty. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; &return.void; &reftitle.seealso; InfiniteIterator::__construct