associateByLaw

inline fun <T, K> Collection<T>.associateByLaw(keySelector: (T) -> K): Map<K, T>