toHashMapNullable

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