July 2018
Intermediate to advanced
242 pages
8h 6m
English
There is a convenient way of transforming Collection to Sequence. We can do so with the asSequence() extension function provided by the Kotlin standard library for the Iterable type. In order to convert a Sequence instance into a Collection instance, you can use the toList() function.
Read now
Unlock full access