IterableAssociateWith<E> extension

on

Methods

associateWith<V>(V valueSelector(E element)) Map<E, V>
Returns a Map containing the values returned from valueSelector function applied to each element indexed by the elements from the collection.