package h;

import java.io.Serializable;

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

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

    public k(A a, B b) {
        this.b = a;
        this.f962e = b;
    }

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

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

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

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

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof k)) {
            return false;
        }
        k kVar = (k) obj;
        return h.x.d.k.a(this.b, kVar.b) && h.x.d.k.a(this.f962e, kVar.f962e);
    }

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

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