toHashMap

inline fun <T, K> Iterable<T>.toHashMap(getKey: (T) -> K): HashMap<K, T>
inline fun <T, K, V> Iterable<T>.toHashMap(getKey: (T) -> K, getValue: (T) -> V): HashMap<K, V>