kotlin.sequences.associateBy
associateBy
inline fun <T, K> Sequence<T>.associateBy( keySelector: (T) -> K ): Map<K, T>
Returns a Map containing the elements from the given sequence indexed by the key returned from keySelector function applied to each element.
If any two elements would have the