package b1;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.function.Predicate;
import kotlin.jvm.internal.n;
import kotlin.jvm.internal.o;
import x4.y;

/* JADX INFO: renamed from: b1.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1187b implements Collection, K4.a {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final C1187b f13227c = new C1187b(y.f26065a);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final List f13228a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f13229b;

    public C1187b(List list) {
        this.f13228a = list;
        this.f13229b = list.size();
    }

    @Override // java.util.Collection
    public final /* bridge */ /* synthetic */ 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
    public final boolean contains(Object obj) {
        if (!(obj instanceof C1186a)) {
            return false;
        }
        return this.f13228a.contains((C1186a) obj);
    }

    @Override // java.util.Collection
    public final boolean containsAll(Collection collection) {
        return this.f13228a.containsAll(collection);
    }

    @Override // java.util.Collection
    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof C1187b) {
            return o.c(this.f13228a, ((C1187b) obj).f13228a);
        }
        return false;
    }

    @Override // java.util.Collection
    public final int hashCode() {
        return this.f13228a.hashCode();
    }

    @Override // java.util.Collection
    public final boolean isEmpty() {
        return this.f13228a.isEmpty();
    }

    @Override // java.util.Collection, java.lang.Iterable
    public final Iterator iterator() {
        return this.f13228a.iterator();
    }

    @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 removeIf(Predicate predicate) {
        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 int size() {
        return this.f13229b;
    }

    @Override // java.util.Collection
    public final Object[] toArray() {
        return n.a(this);
    }

    public final String toString() {
        return A0.a.o(new StringBuilder("LocaleList(localeList="), this.f13228a, ')');
    }

    @Override // java.util.Collection
    public final Object[] toArray(Object[] objArr) {
        return n.b(this, objArr);
    }
}
