Package-level declarations

Utility functions for working with Java 8 streams.

Functions

Link copied to clipboard

Creates a Sequence instance that wraps the original stream iterating through its elements.

Since Kotlin 1.2
Link copied to clipboard

Creates a sequential Stream instance that produces elements from the original sequence.

Since Kotlin 1.2
Link copied to clipboard
fun <T> Stream<T>.toList(): List<T>

Returns a List containing all elements produced by this stream.

Since Kotlin 1.2