public class HashMap<K, V> extends Map<K, V>:
Hash map implementation. @param <K> Key type. @param <V> Value type.
| Modifier and Type | Member | Description |
|---|---|---|
| public | HashMapHashMap(): |
Creates an empty hash map. |
| public | HashMap | Creates a new HashMap from key-value pairs. |
| public | HashMapHashMap(map as MapCollection<K, V>): |
Creates a new HashMap from another map. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native override | operator in(key as K) as Boolean | Returns true if the key exists. |