A quick and practical guide to initializing a List in Kotlin.
Also find me here:
Baeldung Author
baeldung
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Kotlin
- All
- Kotlin Basics (19)
- Kotlin Collections (17)
- Testing (14)
- Kotlin Classes and Objects (14)
- Kotlin (11)
- Kotlin Strings (10)
- Spring (9)
- Kotlin-Java Interop (9)
- Libraries (8)
- Kotlin Concurrency (7)
- Asynchronous Programming (7)
- Kotlin Arrays (6)
- Series (5)
- Kotlin Functions (5)
- Kotlin Server-Side (4)
- Kotlin IO (4)
- Patterns (3)
- Kotlin Web (3)
- Kotlin Numbers (3)
- HTTP Client-Side (3)
- Functional Programming (3)
- Persistence (2)
- Algorithms (2)
- Security (1)
- Kotlin Dates (1)
Kotlin DSL for Gradle
Filed under Kotlin
Learn how to write Gradle scripts in Kotlin
Building a Self-Executable Jar With Gradle and Kotlin
Filed under Kotlin Server-Side
A quick and practical guide to building a self-executable Jar with Gradle and Kotlin.
Interfaces as Method Parameters and Higher Order Functions in Kotlin
Filed under Kotlin Functions
Learn how we can create functions that take functions as arguments and return them as results.
Using Bitwise Operators in Kotlin
Filed under Kotlin Basics
A quick and practical guide to using bitwise operations in Kotlin.
Sealed Class vs Enum in Kotlin
Filed under Kotlin Classes and Objects
Learn the differences between sealed classes and enums in Kotlin.
Modifying Kotlin Lists In-Place
Filed under Kotlin Collections
Learn several ways to efficiently update Kotlin lists in place.
Log Request/Response Body in Spring WebFlux with Kotlin
Filed under Spring
Learn how to log request and response bodies of a Spring Webflux application in Kotlin using a custom WebFilter.
Combining Two Arrays in Kotlin
Filed under Kotlin Arrays
Explore the most common ways to merge arrays in Kotlin.