next

abstract fun next(): T?

Returns null when done. NOTE: after the iterator has exhausted you should not call this method, as it may result in unpredicted behavior.