package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class N10 extends UG {
    public static final Object[] t;
    public static final N10 u;

    /* renamed from: o, reason: collision with root package name */
    public final transient Object[] f248o;
    public final transient int p;
    public final transient Object[] q;
    public final transient int r;
    public final transient int s;

    static {
        Object[] objArr = new Object[0];
        t = objArr;
        u = new N10(0, 0, 0, objArr, objArr);
    }

    public N10(int i, int i2, int i3, Object[] objArr, Object[] objArr2) {
        this.f248o = objArr;
        this.p = i;
        this.q = objArr2;
        this.r = i2;
        this.s = i3;
    }

    @Override // o.JG
    public final int a(Object[] objArr) {
        Object[] objArr2 = this.f248o;
        int i = this.s;
        System.arraycopy(objArr2, 0, objArr, 0, i);
        return i;
    }

    @Override // o.JG
    public final Object[] b() {
        return this.f248o;
    }

    @Override // o.JG
    public final int c() {
        return this.s;
    }

    @Override // o.JG, java.util.AbstractCollection, java.util.Collection, java.util.Set
    public final boolean contains(Object obj) {
        if (obj != null) {
            Object[] objArr = this.q;
            if (objArr.length != 0) {
                int iU = As0.U(obj.hashCode());
                while (true) {
                    int i = iU & this.r;
                    Object obj2 = objArr[i];
                    if (obj2 == null) {
                        return false;
                    }
                    if (obj2.equals(obj)) {
                        return true;
                    }
                    iU = i + 1;
                }
            }
        }
        return false;
    }

    @Override // o.JG
    public final int d() {
        return 0;
    }

    @Override // o.JG
    /* renamed from: e */
    public final Sh0 iterator() {
        return f().listIterator(0);
    }

    @Override // o.UG, java.util.Collection, java.util.Set
    public final int hashCode() {
        return this.p;
    }

    @Override // o.UG
    public final PG k() {
        return PG.f(this.s, this.f248o);
    }

    @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set
    public final int size() {
        return this.s;
    }
}
