Extensions for java.util.stream.DoubleStream
asSequence
Creates a Sequence instance that wraps the original stream iterating through its elements.
fun DoubleStream.asSequence(): Sequence<Double>
toList
Returns a List containing all elements produced by this stream.
fun DoubleStream.toList(): List<Double>