maps library

Extensions

MapExt
Extensions to Maps

Functions

mapFromList<K, V>(Iterable pairs) → Map<K, V>
Create a Map from a list of key, value... pairs, if the list has an odd length, the last entry of the resulted map will has a null value.
mapFromPairs<K, V>(Iterable<Tuple2<K, V>> pairs) → Map<K, V>
Create a Map from a list of Tuple2s, which provides key/value pairs.