package defpackage;

import java.util.Collection;
import java.util.Iterator;

/* renamed from: ˌᵹᵨˑ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public abstract class AbstractC1655 implements Collection, InterfaceC3996 {
    @Override // java.util.Collection
    public final boolean add(Object obj) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection
    public final boolean addAll(Collection collection) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection
    public final void clear() {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection, java.util.List
    public boolean contains(Object obj) {
        if (isEmpty()) {
            return false;
        }
        Iterator<E> it = iterator();
        while (it.hasNext()) {
            if (ᵲᵝᵪ.ᵹᵝᵶ(it.next(), obj)) {
                return true;
            }
        }
        return false;
    }

    @Override // java.util.Collection
    public final boolean containsAll(Collection collection) {
        if (collection.isEmpty()) {
            return true;
        }
        Iterator it = collection.iterator();
        while (it.hasNext()) {
            if (!contains(it.next())) {
                return false;
            }
        }
        return true;
    }

    @Override // java.util.Collection
    public boolean isEmpty() {
        return mo4292() == 0;
    }

    @Override // java.util.Collection
    public final boolean remove(Object obj) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection
    public final boolean removeAll(Collection collection) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection
    public final boolean retainAll(Collection collection) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.Collection
    public final /* bridge */ int size() {
        return mo4292();
    }

    @Override // java.util.Collection
    public Object[] toArray() {
        return ᵼᵙᵖᵱ.ᵡˎ(this);
    }

    @Override // java.util.Collection
    public Object[] toArray(Object[] objArr) {
        return ᵼᵙᵖᵱ.ˑᵥˁ(this, objArr);
    }

    public final String toString() {
        return AbstractC2767.m6822(this, ", ", "[", "]", new ᵡᵘˎʽ(1, this), 24);
    }

    /* renamed from: ᵴᵳ */
    public abstract int mo4292();
}
