slick.util.CloseableIterator
See theCloseableIterator companion trait
object CloseableIterator
Attributes
- Companion
- trait
- Source
- CloseableIterator.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CloseableIterator.type
Members list
Type members
Classlikes
Attributes
- Source
- CloseableIterator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
class Single[+T](item: T) extends CloseableIterator[T]
A CloseableIterator which contains exactly one item.
A CloseableIterator which contains exactly one item.
Attributes
- Source
- CloseableIterator.scala
- Supertypes
-
trait CloseableIterator[T]trait Closeabletrait AutoCloseabletrait Iterator[T]trait IterableOnceOps[T, Iterator, Iterator[T]]trait IterableOnce[T]class Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Using some Closeable resource and a function to create a CloseableIterator from it, return a wrapped CloseableIterator which closes the resource when itself gets closed. If the function terminates abnormally, the resource is closed immediately.
Using some Closeable resource and a function to create a CloseableIterator from it, return a wrapped CloseableIterator which closes the resource when itself gets closed. If the function terminates abnormally, the resource is closed immediately.
Attributes
- Source
- CloseableIterator.scala
Concrete fields
An empty CloseableIterator
In this article