The Baeldung logo
  • The Baeldung LogoKotlin Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Write for Baeldung

      Become a writer on the site.

    • About Baeldung

      About Baeldung.

Kotlin Collections

Learn about the Kotlin Collections and implementations for Lists, Maps, and Sets. Learn how to work with Kotlin Collections through the guides below.

  • List (20)
  • Array (14)
  • Map (6)
  • reference (3)
  • JSON (2)

>> ArrayDeque in Kotlin

>> Flatten List of Lists in Kotlin

>> Get Maximum Value Within a Kotlin Array

>> Kotlin Equivalent to Java String Arrays

>> Creating a Byte Array in Kotlin

>> Sum All the Items in a List of Integers in Kotlin

>> Taking the First N Elements of an Array in Kotlin

>> Add an Element to a List in Kotlin

>> Check if an Array Contains a Given Value in Kotlin

>> Sort Collection of Objects by Multiple Fields in Kotlin

>> Comparing Two Lists in Kotlin

>> Convert a List Into an Array in Kotlin

>> Convert Between List and Set in Kotlin

>> Convert a Kotlin data class object to a Map

>> Kotlin Collections Guide

>> Convert List to String in Kotlin

>> Initialize a Map in Kotlin

>> Initialize a List in Kotlin

>> Iterate Over a Map in Kotlin

>> Guide to Comparing Arrays in Kotlin

>> Guide to Arrays in Kotlin

>> Parsing JSON Arrays in Kotlin with Gson

>> Convert a Mutable Collection Into an Immutable One in Kotlin

>> Modifying Kotlin Lists In-Place

>> Iterate Through a JSONArray in Kotlin

>> Removing Duplicate Elements From Collections in Kotlin

>> Copying a List in Kotlin

>> Combining Two Arrays in Kotlin

>> Copy a Map in Kotlin

>> Remove Duplicate Values From an Array in Kotlin

>> The Difference Between map() and flatMap() in Kotlin

>> Creating Collections with Repeating Elements in Kotlin

>> Get a Random Item From a List in Kotlin

>> IntArray vs Array<Int> in Kotlin

>> Difference Between List and Array in Kotlin

>> Filtering a List in Kotlin

>> Convert Array to List in Kotlin

>> Working With Maps in Kotlin

>> Difference Between ArrayList() and mutableListOf() in Kotlin

>> Aggregate Operations in Kotlin

>> Initializing Empty Mutable Collections in Kotlin

>> Iterating Collections by Index in Kotlin

>> Working With Lists in Kotlin

>> Difference Between fold and reduce in Kotlin

>> Collection Transformations in Kotlin

>> Sequences in Kotlin

>> Finding an Element in a List Using Kotlin

>> Kotlin Immutable Collections

>> Split a List into Parts in Kotlin

>> Initializing Arrays in Kotlin

>> Implementing a Binary Tree in Kotlin

>> Filtering Kotlin Collections

>> Overview of Kotlin Collections API

>> Converting a List to Map in Kotlin

  • ↑ Back to Top
The Baeldung logo

Categories

  • Kotlin Basics
  • Kotlin Classes and Objects
  • Spring with Kotlin

Series

  • Kotlin Collections

About

  • About Baeldung
  • The Full Archive
  • Write for Baeldung
  • Editors
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo