klyn.collections.MapSync.MapSync
constructor

    public MapSync(keys as IList<K>, values as IList<V>):

Description

Creates a synchronized map from key-value pairs.

Extra keys or values are ignored when both lists do not have the same length.

Parameters

- keys List of keys.
- values List of values. ```klyn import klyn.collections keys = ["a", "b", "c"] values = [1, 2, 3] map = MapSync<String, Int>(keys, values) ```