The Baeldung logo
  • The Baeldung LogoKotlin SublogoKotlin Sublogo
  • Start Here
  • Guides ▼▲
    • Kotlin Tutorial

      Learn about the core concepts and basic building blocks of Kotlin.

    • Kotlin Collections

      Learn how to use collections in Kotlin.

    • Kotlin Basics

      Introductory examples for Kotlin.

    • Kotlin Classes and Objects

      Classes and Objects provide the foundation for all Kotlin development.

    • Kotlin with Spring

      Learn how to use the Spring framework with Kotlin.

  • Pricing
  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung.

Category upKotlin

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 (54)
  • Map (24)
  • Set (5)
  • Sorting (5)
  • JSON (3)
  • Sequence (3)
  • Math (2)
  • Data Class (2)
  • String Conversions (2)

>> Guide to Merging Two Maps in Kotlin

>> Convert Array to Set and Vice-Versa in Kotlin

>> any() vs. none() vs. all() in Kotlin

>> Converting a List of Maps to a Map Grouped by Key in Kotlin

>> Creating a Map from Two Arrays in Kotlin

>> Counting Occurrences of a Value in a List in Kotlin

>> Skip Null Values When Converting a List to a Map in Kotlin

>> How to Change a Value in a Mutable List in Kotlin

>> How to Initialize a List of Lists in Kotlin

>> How to Remove Null and Empty Values from a List in Kotlin

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next →
  • »
The Baeldung logo

Categories

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

Series

  • Kotlin Collections
  • Kotlin Strings
  • Kotlin Tutorial
  • Kotlin Spring
  • Kotlin Coroutines Tutorial

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo