© Peter Späth 2019
Peter SpäthLearn Kotlin for Android Developmenthttps://doi.org/10.1007/978-1-4842-4467-8_16

16. The Collections API

Peter Späth1 
(1)
Leipzig, Germany
 

We already talked about collections in Chapter 9, namely lists, sets, and maps. The collections API, however, is extensive and contains more classes and interfaces than we described in Chapter 9. For Java the API even gets called the collections framework. Without claiming to be exhaustive in this chapter, we revise what we already know and also talk about a couple of more interesting collection interfaces, classes, and functions.

Unfortunately there is nothing like a java.collections package. Concerning Java, the collections API is scattered with its main part lying inside the java.util ...

Get Learn Kotlin for Android Development: The Next Generation Language for Modern Android Apps Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.