Compute and return the next element
Compute and return the next element
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Called exactly once, when the iterator is empty
Called exactly once, when the iterator is empty
Compute the next element, if it hasn't already been computed; the result is stored in _next.
Compute the next element, if it hasn't already been computed; the result is stored in _next.
Iterator of Iterators
Hook for subclasses to update books after each element is consumed.
Hook for subclasses to update books after each element is consumed.
"Flatmap" over an Iterator of Iterators, exposing the inner Iterator along the way (as its true type)
"value" type of resulting Iterator
type of inner Iterator
Iterator of Iterators