public static <K,V> AListMap<K,V> fromKeysAndValues(AEquality equality, Iterable<ATuple2<K,V>> elements) {
        AListMap<K,V> result = empty(equality);

        for(ATuple2<K,V> el: elements) {
            result = result.updated(el._1, el._2);
        }
        return result;
    }
public static <K,V> AListMap<K,V> fromKeysAndValues(AEquality equality, Iterable<ATuple2<K,V>> elements) {
        AListMap<K,V> result = empty(equality);

        for(ATuple2<K,V> el: elements) {
            result = result.updated(el._1, el._2);
        }
        return result;
    }
public static < K , V > AListMap < K , V > fromKeysAndValues ( AEquality equality , Iterable < ATuple2 < K , V > > elements ) { AListMap < K , V > result = empty ( equality ) ; for ( ATuple2 < K , V > el : elements ) { result = result . updated ( el . _1 , el . _2 ) ; } return result ; }
Returns an AHashMap instance with a given equalityForEquals, initializing it from separate 'keys'
and 'values' collections. Both collections are iterated exactly once, and are expected to have the same size.
Returns an AHashMap instance with a given equalityForEquals initializing it from separate keys and values collections . Both collections are iterated exactly once and are expected to have the same size .