package com.pgl.ssdk;

/* JADX INFO: loaded from: classes.dex */
public final class o<A, B> {

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

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

    public o(A a10, B b10) {
        this.f24775a = a10;
        this.f24776b = b10;
    }

    public static <A, B> o<A, B> a(A a10, B b10) {
        return new o<>(a10, b10);
    }

    public B b() {
        return this.f24776b;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || o.class != obj.getClass()) {
            return false;
        }
        o oVar = (o) obj;
        A a10 = this.f24775a;
        if (a10 == null) {
            if (oVar.f24775a != null) {
                return false;
            }
        } else if (!a10.equals(oVar.f24775a)) {
            return false;
        }
        B b10 = this.f24776b;
        B b11 = oVar.f24776b;
        if (b10 == null) {
            if (b11 != null) {
                return false;
            }
        } else if (!b10.equals(b11)) {
            return false;
        }
        return true;
    }

    public int hashCode() {
        A a10 = this.f24775a;
        int iHashCode = ((a10 == null ? 0 : a10.hashCode()) + 31) * 31;
        B b10 = this.f24776b;
        return iHashCode + (b10 != null ? b10.hashCode() : 0);
    }

    public A a() {
        return this.f24775a;
    }
}
