class PathStream : Iterable<Path>
(source)
Data class for holding streams of paths where we abstract away the materializing into the MemoryManager.
PathStream(telepath: Telepath?, _paths: Stream<Path>, materialize: Boolean = true)
Data class for holding streams of paths where we abstract away the materializing into the MemoryManager. |
val materialize: Boolean
Boolean indicating if the given stream has to be materialized. |
|
val pathSupplier: Supplier<Stream<Path>> |
|
val paths: Stream<Path>
Stream of paths. This acts as a Supplier if the paths are materialized. |
fun ensureMaterialization(): PathStream
Materialize the stream if we don't have a memoryManagerId yet. |
|
fun iterator(): Iterator<Path> |