Parallel stream is available in JDK8 and the follo...
# getting-started
e
Parallel stream is available in JDK8 and the following code works just as well in Kotlin as it does in Java:
listOf("A", "C", “B”).parallelStream().sorted().collect(Collectors.joining()))
(of course, there is no
listOf
in Java, but it works if you replace it with
Arrays.asList
)