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)

>> Iterate Through a List and Add Items in Kotlin

>> How to Add List Contents Into a Set in Kotlin

>> How to Convert a Type-Erased List to an Array in Kotlin

>> Determine if All Elements Are the Same in a Kotlin List

>> How to Convert Integer List to IntArray in Kotlin

>> How to Start a for Loop From a Given Index in Kotlin

>> Implement a MultiMap in Kotlin

>> Rotate a List in Kotlin

>> Print Lists Content Separated by Comma

>> Idiomatic Ways to Transform Maps 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