(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
(readAheadIterator: MonadOps[T]).filter(p)
(readAheadIterator: MonadOps[T]).flatMap(f)
(readAheadIterator: MonadOps[T]).map(f)
(readAheadIterator: MonadOps[T]).withFilter(p)
An iterator on top of a data source which does not offer a hasNext() method without doing a next()