package j;

import java.io.Serializable;

/* JADX INFO: compiled from: Tuples.kt */
/* JADX INFO: loaded from: classes.dex */
public final class u<A, B, C> implements Serializable {
    private final A b;
    private final B d;
    private final C e;

    public u(A a, B b, C c) {
        this.b = a;
        this.d = b;
        this.e = c;
    }

    public final A a() {
        return this.b;
    }

    public final B b() {
        return this.d;
    }

    public final C c() {
        return this.e;
    }

    public final A d() {
        return this.b;
    }

    public final B e() {
        return this.d;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof u)) {
            return false;
        }
        u uVar = (u) obj;
        return j.p0.d.r.a(this.b, uVar.b) && j.p0.d.r.a(this.d, uVar.d) && j.p0.d.r.a(this.e, uVar.e);
    }

    public final C f() {
        return this.e;
    }

    public int hashCode() {
        A a = this.b;
        int iHashCode = (a == null ? 0 : a.hashCode()) * 31;
        B b = this.d;
        int iHashCode2 = (iHashCode + (b == null ? 0 : b.hashCode())) * 31;
        C c = this.e;
        return iHashCode2 + (c != null ? c.hashCode() : 0);
    }

    public String toString() {
        return '(' + this.b + ", " + this.d + ", " + this.e + ')';
    }
}
