@Override
    public void putAll(Map<? extends K, ? extends V> map) {
        ensureCapacity(mSize + map.size());
        for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
            put(entry.getKey(), entry.getValue());
        }
    }
Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>

@param map The map whose contents are to be retrieved.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/ArrayMap.java