package g.c0;

/* JADX INFO: compiled from: IndexedValue.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class o<T> {
    public final int a;

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

    public o(int i2, T t) {
        this.a = i2;
        this.f4070b = t;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof o)) {
            return false;
        }
        o oVar = (o) obj;
        return this.a == oVar.a && g.h0.c.l.a(this.f4070b, oVar.f4070b);
    }

    public int hashCode() {
        int iHashCode = Integer.hashCode(this.a) * 31;
        T t = this.f4070b;
        return iHashCode + (t == null ? 0 : t.hashCode());
    }

    public String toString() {
        StringBuilder sbB = d.b.a.a.a.B("IndexedValue(index=");
        sbB.append(this.a);
        sbB.append(", value=");
        sbB.append(this.f4070b);
        sbB.append(')');
        return sbB.toString();
    }
}
