kotlin.sequences.associate

associate

inline fun <T, K, V> Sequence<T>.associate(
    transform: (T) -> Pair<K, V>
): Map<K, V>

Returns a Map containing key-value pairs provided by transform function applied to elements of the given sequence.

If any of two pairs would have the same key the