☰
Kotlin Tutorial
Kotlin - Basic
Kotlin - Installation
Kotlin - Variables
Kotlin - Data Types
Kotlin - Val
Kotlin - Type Casting
Kotlin - Operators
Kotlin - Input & Output
BRANCHING
Kotlin - If - Else
Kotlin - When
LOOPS
Kotlin - While Loop
Kotlin - Do - While Loop
Kotlin - For Loop
Kotlin - Break
Kotlin - Continue
DATA TYPES
Kotlin - Numbers
Kotlin - Boolean
Kotlin - Strings
Kotlin - String Functions
ARRAY
Kotlin - Arrays
Kotlin - arrayOf() Function
Kotlin - Iterating Array
Kotlin - Replace Array Elements
Kotlin - Sort Array Elements
LIST
Kotlin - Lists
Kotlin - Accessing List
Kotlin - Replace List Elements
Kotlin - Insert in List
Kotlin - Join two Lists
Kotlin - Remove from List
Kotlin - Copy from List
Kotlin- Sort List Elements
Kotlin - Reverse a List
Kotlin - List Functions
SET
Kotlin - Set
Kotlin - Iterating Set
Kotlin - Accessing Set
Kotlin - Insert in Set
Kotlin - Join two Sets
Kotlin - Remove from Set
Kotlin - Copy from Set
Kotlin- Sort Set Elements
Kotlin - Reverse a Set
Kotlin - Set Functions
MAP
Kotlin - Map
Kotlin - Iterating Map
Kotlin - Insert in Map
Kotlin - Update Map
Kotlin - Remove from Map
Kotlin - Copy from Map
Kotlin - HashMap
Kotlin - Map Functions
FUNCTION
Kotlin - Function
Kotlin - Function Arguments
Kotlin - Function Overloading
Kotlin - Recursion
Kotlin - Lambda/Anonymous Function
Kotlin - Scope
Kotlin - Import
OOPS
Kotlin - OOPS
Kotlin - Classes & Objects
Kotlin - Constructors
Kotlin - Inheritance
Kotlin - Method Overriding
Kotlin - Abstract Class
Kotlin - Interface
Kotlin - Data Class
Kotlin - Sealed Class
EXCEPTION
Kotlin - Exception Handling
Kotlin - Custom Exception
DATE TIME
Kotlin - Date & Time
REGEX
Kotlin - Regex
Regex - Functions
Regex - Meta-Characters
Regex - Special Sequences
ADVANCED
Kotlin - Operator Overloading
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
OTHERS
JAVA
SPRING
SPRINGBOOT
HIBERNATE
HADOOP
HIVE
ALGORITHMS
PYTHON
GO
KOTLIN
C#
RUBY
C++
Kotlin Tutorial
Kotlin - Basic
Kotlin - Installation
Kotlin - Variables
Kotlin - Data Types
Kotlin - Val
Kotlin - Type Casting
Kotlin - Operators
Kotlin - Input & Output
BRANCHING
Kotlin - If - Else
Kotlin - When
LOOPS
Kotlin - While Loop
Kotlin - Do - While Loop
Kotlin - For Loop
Kotlin - Break
Kotlin - Continue
DATA TYPES
Kotlin - Numbers
Kotlin - Boolean
Kotlin - Strings
Kotlin - String Functions
ARRAY
Kotlin - Arrays
Kotlin - arrayOf() Function
Kotlin - Iterating Array
Kotlin - Replace Array Elements
Kotlin - Sort Array Elements
LIST
Kotlin - Lists
Kotlin - Accessing List
Kotlin - Replace List Elements
Kotlin - Insert in List
Kotlin - Join two Lists
Kotlin - Remove from List
Kotlin - Copy from List
Kotlin- Sort List Elements
Kotlin - Reverse a List
Kotlin - List Functions
SET
Kotlin - Set
Kotlin - Iterating Set
Kotlin - Accessing Set
Kotlin - Insert in Set
Kotlin - Join two Sets
Kotlin - Remove from Set
Kotlin - Copy from Set
Kotlin- Sort Set Elements
Kotlin - Reverse a Set
Kotlin - Set Functions
MAP
Kotlin - Map
Kotlin - Iterating Map
Kotlin - Insert in Map
Kotlin - Update Map
Kotlin - Remove from Map
Kotlin - Update Map
Kotlin - Remove from Map
Kotlin - Copy from Map
Kotlin - HashMap
Kotlin - Map Functions
FUNCTION
Kotlin - Function
Kotlin - Function Arguments
Kotlin - Function Overloading
Kotlin - Recursion
Kotlin - Lambda/Anonymous Function
Kotlin - Scope
Kotlin - Import
OOPS
Kotlin - OOPS
Kotlin - Classes & Objects
Kotlin - Constructors
Kotlin - Inheritance
Kotlin - Method Overriding
Kotlin - Abstract Class
Kotlin - Interface
Kotlin - Data Class
Kotlin - Sealed Class
EXCEPTION
Kotlin - Exception Handling
Kotlin - Custom Exception
DATE TIME
Kotlin - Date & Time
REGEX
Kotlin - Regex
Regex - Functions
Regex - Meta-Characters
Regex - Special Sequences
ADVANCED
Kotlin - Operator Overloading
❮❮ PREV
NEXT ❯❯
KOTLIN
-
MAP FUNCTIONS
Functions used in Map
We have described almost all the
Functions above
. Below is the list of
methods
used in Map.
Function
Description
mapOf()
Used to create an immutable Map(i.e. A read only Map)
mutableMapOf()
Used to create a mutable Map
iterator()
Used to iterate a Map
get()
Used to return the value of a key.
put()
Used to insert a new Item in a Map.
remove()
Used to remove an element from the Map by its key.
clear()
Used to remove all the elements from the Map.
toMap()
Used to copy one Map to the other creating a read only Map
toMutableMap()
Used to copy one Map to the other creating a mutable Map
❮❮ PREV
NEXT ❯❯