package androidx.core.util;

/* JADX INFO: compiled from: Pair.java */
/* JADX INFO: loaded from: classes.dex */
public class d<F, S> {

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

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

    public d(F f3, S s2) {
        this.f1831a = f3;
        this.f1832b = s2;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof d)) {
            return false;
        }
        d dVar = (d) obj;
        return c.a(dVar.f1831a, this.f1831a) && c.a(dVar.f1832b, this.f1832b);
    }

    public int hashCode() {
        F f3 = this.f1831a;
        int iHashCode = f3 == null ? 0 : f3.hashCode();
        S s2 = this.f1832b;
        return iHashCode ^ (s2 != null ? s2.hashCode() : 0);
    }

    public String toString() {
        return "Pair{" + this.f1831a + " " + this.f1832b + "}";
    }
}
