package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class JZ {
    public final Class a;
    public final Class b;

    public JZ(Class cls, Class cls2) {
        this.a = cls;
        this.b = cls2;
    }

    public static JZ a(Class cls) {
        return new JZ(IZ.class, cls);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || JZ.class != obj.getClass()) {
            return false;
        }
        JZ jz = (JZ) obj;
        if (this.b.equals(jz.b)) {
            return this.a.equals(jz.a);
        }
        return false;
    }

    public final int hashCode() {
        return this.a.hashCode() + (this.b.hashCode() * 31);
    }

    public final String toString() {
        Class cls = this.b;
        Class cls2 = this.a;
        if (cls2 == IZ.class) {
            return cls.getName();
        }
        return "@" + cls2.getName() + " " + cls.getName();
    }
}
