@Override
    public boolean addAll(@NonNull Collection<? extends E> collection) {
        ensureCapacity(mSize + collection.size());
        boolean added = false;
        for (E value : collection) {
            added |= add(value);
        }
        return added;
    }
Perform an {@link #add(Object)} of all values in <var>collection</var>

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