Browse topics
Standard Library
List, Map & Set
Immutable and mutable collection operations, filtering and sorting.
list map setImmutable List Operations in KotlinImmutable lists created by listOf cannot be modified after creation. A Kotlin example with source code and sample output.list map setMutable List Operations in KotlinMutable List Operations in Kotlin: a complete example program with source code and sample output, explained step by step.list map setSet Operations in KotlinSet stores unique elements. A Kotlin example with source code and sample output.list map setMap Operations in KotlinA Kotlin example program demonstrating Map Operations, complete with the source code and expected sample output.list map setFiltering Collections in Kotlinfilter returns elements matching a condition. A Kotlin example with source code and sample output.list map setSorting Collections in Kotlinsorted and sortedBy return sorted copies of collections. A Kotlin example with source code and sample output.