You can use streams to avoid creating a temporary ...
# getting-started
s
You can use streams to avoid creating a temporary
List
if you're going with
forEach
. 1 reply In Kotlin
Sequence
are preferred way to do lazy stream operations, as it not required Java 8, and included in Kotlin stdlib