IterableAssociateBy<E> extension

on

Methods

associateBy<K>(K keySelector(E element)) Map<K, E>
Returns a Map containing the elements from the collection indexed by the key returned from keySelector function applied to each element.