Linked Hash Map
Hash table based implementation of the MutableMap interface, which additionally preserves the insertion order of entries during the iteration.
The insertion order is preserved by maintaining a doubly-linked list of all of its entries.
Constructors
LinkedHashMap
Link copied to clipboard
Constructs an empty LinkedHashMap instance.
LinkedHashMap
Link copied to clipboard
LinkedHashMap
Link copied to clipboard
Constructs an empty LinkedHashMap instance.
LinkedHashMap
Link copied to clipboard
Constructs an instance of LinkedHashMap filled with the contents of the specified original map.
Functions
contains Key
Link copied to clipboard
Returns true
if the map contains the specified key.
contains Value
Link copied to clipboard
Returns true
if the map maps one or more keys to the specified value.
get Or Default
Link copied to clipboard
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since Kotlin
1.1
remove
Link copied to clipboard
Removes the specified key and its corresponding value from this map.