collectMapValues

open fun <K, V> collectMapValues(destination: Map<K, V>, keys: Iterable<out K>, keyGenerator: Transformer<out V, in K>)(source)


open fun <K, V> collectMapValues(keys: Iterable<out K>, keyGenerator: Transformer<out V, in K>): Map<K, V>(source)

Given a set of keys, derive a set of values and return a map