Created
October 12, 2020 13:17
-
-
Save ch8n/8c362fd379cf3475c6a4e79504fdba1c to your computer and use it in GitHub Desktop.
mutablemap resolved by linkedhashMap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun <K, V> mutableMapOf(): MutableMap<K, V> = LinkedHashMap() | |
// mutableMapOf is resolved using LinkedHashMap | |
// as discussed earlier Linked HashMap signature | |
class LinkedHashMap<K, V> : MutableMap<K, V> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment