a-foundation/src/main/java/com/ajjpj/afoundation/collection/immutable/AHashMap.java
@SuppressWarnings("unused")
    public static <K,V, E extends Throwable> AHashMap<K,V> fromKeysAndFunction(Iterable<K> keys, AFunction1<? super K, ? extends V, E> f) throws E {
        return fromKeysAndFunction(DEFAULT_EQUALITY, keys, f);
    }
@SuppressWarnings("unused")
    public static <K,V, E extends Throwable> AHashMap<K,V> fromKeysAndFunction(Iterable<K> keys, AFunction1<? super K, ? extends V, E> f) throws E {
        return fromKeysAndFunction(DEFAULT_EQUALITY, keys, f);
    }
Returns an AHashMap instance with default (i.e. equals-based) equalityForEquals, initializing it from a collection of
keys and a function. For each element of the <code>keys</code> collection, the function is called once to
determine the corresponding value, and the pair is then stored in the map.