klyn.collections.SortedMap.SortedMap
constructor
public SortedMap(keys as IList<K>, values as IList<V>):
Description

Creates a sorted map from corresponding key and value lists.

Extra elements are ignored when the lists have different sizes.

Parameters
ParameterDescription
keysKeys to insert.
valuesValues to associate with the keys.
Example
values = SortedMap<String, Int>(["b", "a"], [2, 1])
assert values.keys() == i:["a", "b"]