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