public MapSync(keys as IList<K>, values as IList<V>):
Creates a synchronized map from key-value pairs.
Extra keys or values are ignored when both lists do not have the same length.