kotlin-stdlib / kotlin.streams / java.util.stream.DoubleStream / toList toList JVM JRE8 1.2 fun DoubleStream.toList(): List<Double> Returns a List containing all elements produced by this stream.