Lessn 45 – Kotlin programming language Collections
Kotlin provides a wide range of classes for managing collections of data.
We have already seen some of the classes that allow managing collections:
- For basic data types (optimized)
ByteArray ShortArray LongArray FloatArray DoubleArray BooleanArray CharArray
- For any type of data:
We already worked on previous concepts with the arrays that store basic data types and with the class Array that allows us to store any type of data. In the next concepts we will see the classes List, Map and Set.
In order to manage lists (List), maps (Map) and sets (Set) there are two large groups: mutables (that is, after being created we can add, modify and delete elements) and immutable (once the collection is created we can not modify the structure)
We are sorry that this lesson was not useful for you!
Let us improve this lesson!
Tell us how we can improve this lesson?