Overview
>
klyn.collections
>
HashMap
>
HashMap
Version 0.1.2
Overview
Index
Tree
Deprecated
klyn.collections.HashMap.HashMap
constructor
public HashMap(map as MapCollection<K, V>):
Description
Creates a new HashMap from another map.
Parameters
map The map to copy key-value pairs from. ```klyn import klyn.collections source = {"a": 1, "b": 2} copy = HashMap<String, Int>(source) ```