package d;

import java.io.Serializable;

/* JADX INFO: compiled from: Tuples.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class p<A, B> implements Serializable {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final A f2654c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private final B f2655d;

    public p(A a2, B b2) {
        this.f2654c = a2;
        this.f2655d = b2;
    }

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

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

    public final A c() {
        return this.f2654c;
    }

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

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof p)) {
            return false;
        }
        p pVar = (p) obj;
        return d.n0.c.s.a(this.f2654c, pVar.f2654c) && d.n0.c.s.a(this.f2655d, pVar.f2655d);
    }

    public int hashCode() {
        A a2 = this.f2654c;
        int iHashCode = (a2 == null ? 0 : a2.hashCode()) * 31;
        B b2 = this.f2655d;
        return iHashCode + (b2 != null ? b2.hashCode() : 0);
    }

    public String toString() {
        return '(' + this.f2654c + ", " + this.f2655d + ')';
    }
}
