@Override
    public boolean removeAll(@NonNull Collection<?> collection) {
        boolean removed = false;
        for (Object value : collection) {
            removed |= remove(value);
        }
        return removed;
    }
Remove all values in the array set that exist in the given collection.

@param collection The collection whose contents are to be used to remove values.
@return Returns true if any values were removed from the array set, else false.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/collection/ArraySet.java