Pustaka Taratsa
KOTLIN: Map

KOTLIN: Map

Penulis: Onno Widodo Purbo

Sumber: https://www.tutorialspoint.com/kotlin/kotlin_maps.htm Kotlin map is a collection of key/value pairs, where each key is unique, and it can only be associated with one value. The same value can be associated with multiple keys though. We can declare the keys and values to be any type; there are no restrictions. A Kotlin map can be either mutable (mutableMapOf) or read-only (mapOf). Maps are