A quick and practical guide to converting Kotlin’s array into Java’s varargs.
Also find me here:
Baeldung Author
Vinay Wadhwa
Vinay is an Android engineer with over 10 years of experience in the industry, specializing in the multimedia and fintech domains. In addition to their professional journey in multiple organizations, they also contribute to open-source projects. When they are not coding, you'll probably find them reading about history and geopolitics, learning languages, automating the smart lights in their home, or simply Netflix and chilling. Currently, they live in Hyderabad, India.
Here's what I've written (so far):
Baeldung on Kotlin
- All
- Kotlin Collections (4)
- Kotlin Classes and Objects (3)
- Kotlin Basics (3)
- Kotlin Strings (2)
- Kotlin Numbers (2)
- Testing (1)
- Kotlin-Java Interop (1)
- Kotlin IO (1)
- Kotlin Concurrency (1)
- Kotlin Arrays (1)
- Asynchronous Programming (1)
Break or Continue a Functional Loop in Kotlin
Filed under Kotlin Basics
A quick and practical guide to breaking/continuing a functional loop in Kotlin.
Convert a Character Array to a String in Kotlin
Filed under Kotlin Strings
A quick and practical character array to string Kotlin conversion guide.
Check if a String Is Numeric in Kotlin
Filed under Kotlin Strings
A quick and practical guide to checking if String is numeric in Kotlin.
Initialize a Map in Kotlin
Filed under Kotlin Collections
A quick and practical guide to initializing a Map in Kotlin.
Iterate Over a Map in Kotlin
Filed under Kotlin Collections
There are a few ways to iterate over the keys and values in a Kotlin map. We look at some of the options and which is more efficient at runtime.
Rounding Numbers in Kotlin
Filed under Kotlin Numbers
Learn multiple ways to perform rounding of numbers in Kotlin.
Iterate Through a JSONArray in Kotlin
Filed under Kotlin Collections
Learn how to iterate over a JSONArray in Kotlin.
Introduction to “this” Keyword in Kotlin
Filed under Kotlin Classes and Objects
A quick and practical introduction to the “this” keyword in Kotlin.