Kotlin List Interface

Before we jump onto List in Kotlin. Let’s just have a look at what java has to offer us in terms of the list. Java List helps us to maintain the ordered collection.

It has the index-based methods to insert, update, delete, and search all the elements in a list. In the java list, we can also store the null elements. The List Interface is found in the java.util package and inherits the collection interface. We can iterate the list in the forward or backward directions.

Read more

Kotlin Map Interface

Before we switch what Kotlin has to offer us in terms of Map Interface. Let us first recap the Map Interface with the java.

The map interface is present in java.util package which presents a mapping between the Key, Value.

Read more