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.
Hook for subclasses to update books after each element is consumed.
Hook for subclasses to update books after each element is consumed.