Created
October 12, 2020 13:34
-
-
Save ch8n/d9832a1a7016a9a0415427182d1242c2 to your computer and use it in GitHub Desktop.
linkedHashMap signature in kotlin
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
// Kotlin signature | |
typealias LinkedHashMap<K, V> = LinkedHashMap<K, V> | |
// Java signature | |
class LinkedHashMap<K,V> | |
extends HashMap<K,V> | |
implements Map<K,V> | |
// Available Constructors | |
Java LinkedHashMap has three constructors | |
- LinkedHashMap() | |
- LinkedHashMap(int initialCapacity) | |
- LinkedHashMap(int initialCapacity,float fillRatio) | |
- LinkedHashMap(Map<K,V> fromMap) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment