klyn.collections.HashMapSync.HashMapSync
constructor
public HashMapSync(map as MapCollection<K, V>):
Description

Creates a synchronized hash map from another map.

Parameters
ParameterDescription
mapThe map to copy key-value pairs from.
Example
import klyn.collections

source = {"a": 1, "b": 2}
copy = HashMapSync<String, Int>(source)