In this chapter, you have seen how to use the Kotlin collection API in great detail. You have learned how the standard library provides you with the distinction between immutable and mutable collection types, and how immutability is achieved at the interface level. You know now that Kotlin doesn't add a new collection library, but rather builds on the existing Java collections. In addition, you can use arrays extensively because you learned how to use the specific implementations over the generic one when it comes to primitive types.
The Kotlin standard library provides you with the building blocks to express complex computations through a few simple extension methods, hopefully giving you a different perspective when it comes to choosing your next project language.
In Chapter 11, Testing in Kotlin, we will delve into the real-world utilization of Kotlin by introducing...