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.
(closeableIterator: MonadOps[T]).filter(p)
(closeableIterator: MonadOps[T]).flatMap(f)
(closeableIterator: MonadOps[T]).map(f)
(closeableIterator: StringAdd).self
(closeableIterator: StringFormat).self
(closeableIterator: MonadOps[T]).withFilter(p)
(Since version 2.10.0) use fold instead
(closeableIterator: ArrowAssoc[CloseableIterator[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(closeableIterator: Ensuring[CloseableIterator[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
An Iterator with a
close
method to close the underlying data source. Implementers must close the data source whenhasNext
returnsfalse
.