August 2017
Intermediate to advanced
440 pages
10h
English
The Kotlin type hierarchy is really well designed. Standard collections are actually collections from a native language (such as Java) that are hidden behind interfaces. They are created by standard top-level functions (listOf, setOf, mutableListOf, and so on), so they can be created and used in common modules (modules compiled to more than one platform). Also, Kotlin interfaces can act like their equivalent interfaces from Java (such as List, and Set), which makes Kotlin collections efficient and highly compatible with external libraries. At the same time, the Kotlin collection interface hierarchy can be used in common modules. This hierarchy is simple and it is useful to understand it:
Kotlin collection ...
Read now
Unlock full access