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
Constructs an empty LinkedHashMap instance.
Constructs an empty LinkedHashMap instance.
Constructs an instance of LinkedHashMap filled with the contents of the specified original map.
Functions
Returns true
if the map contains the specified key.
Returns true
if the map maps one or more keys to the specified value.
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since Kotlin
Removes the specified key and its corresponding value from this map.
Removes the entry for the specified key only if it is mapped to the specified value.