Close the underlying data source.
Close the underlying data source. The behaviour of any methods of this object after closing it is undefined.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Return a new CloseableIterator which also closes the supplied Closeable object when itself gets closed.
Return a new CloseableIterator which also closes the supplied Closeable object when itself gets closed.
(single: MonadOps[T]).filter(p)
(single: MonadOps[T]).flatMap(f)
(single: MonadOps[T]).map(f)
(single: MonadOps[T]).withFilter(p)
A CloseableIterator which contains exactly one item.