(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Returns the number of successful invocations of next
(countingIterator: MonadOps[T]).filter(p)
(countingIterator: MonadOps[T]).flatMap(f)
(countingIterator: MonadOps[T]).map(f)
(countingIterator: MonadOps[T]).withFilter(p)
Counts elements fetched form the underlying iterator. Limit causes iterator to terminate early