package lh;

import java.security.MessageDigest;
import java.util.Map;

/* loaded from: classes4.dex */
class n implements jh.f {

    /* renamed from: b, reason: collision with root package name */
    private final Object f28217b;

    /* renamed from: c, reason: collision with root package name */
    private final int f28218c;

    /* renamed from: d, reason: collision with root package name */
    private final int f28219d;

    /* renamed from: e, reason: collision with root package name */
    private final Class f28220e;

    /* renamed from: f, reason: collision with root package name */
    private final Class f28221f;

    /* renamed from: g, reason: collision with root package name */
    private final jh.f f28222g;

    /* renamed from: h, reason: collision with root package name */
    private final Map f28223h;

    /* renamed from: i, reason: collision with root package name */
    private final jh.h f28224i;

    /* renamed from: j, reason: collision with root package name */
    private int f28225j;

    /* JADX INFO: Access modifiers changed from: package-private */
    public n(Object obj, jh.f fVar, int i10, int i11, Map map, Class cls, Class cls2, jh.h hVar) {
        this.f28217b = ei.k.d(obj);
        this.f28222g = (jh.f) ei.k.e(fVar, "Signature must not be null");
        this.f28218c = i10;
        this.f28219d = i11;
        this.f28223h = (Map) ei.k.d(map);
        this.f28220e = (Class) ei.k.e(cls, "Resource class must not be null");
        this.f28221f = (Class) ei.k.e(cls2, "Transcode class must not be null");
        this.f28224i = (jh.h) ei.k.d(hVar);
    }

    @Override // jh.f
    public void a(MessageDigest messageDigest) {
        throw new UnsupportedOperationException();
    }

    @Override // jh.f
    public boolean equals(Object obj) {
        if (!(obj instanceof n)) {
            return false;
        }
        n nVar = (n) obj;
        return this.f28217b.equals(nVar.f28217b) && this.f28222g.equals(nVar.f28222g) && this.f28219d == nVar.f28219d && this.f28218c == nVar.f28218c && this.f28223h.equals(nVar.f28223h) && this.f28220e.equals(nVar.f28220e) && this.f28221f.equals(nVar.f28221f) && this.f28224i.equals(nVar.f28224i);
    }

    @Override // jh.f
    public int hashCode() {
        if (this.f28225j == 0) {
            int hashCode = this.f28217b.hashCode();
            this.f28225j = hashCode;
            int hashCode2 = (((((hashCode * 31) + this.f28222g.hashCode()) * 31) + this.f28218c) * 31) + this.f28219d;
            this.f28225j = hashCode2;
            int hashCode3 = (hashCode2 * 31) + this.f28223h.hashCode();
            this.f28225j = hashCode3;
            int hashCode4 = (hashCode3 * 31) + this.f28220e.hashCode();
            this.f28225j = hashCode4;
            int hashCode5 = (hashCode4 * 31) + this.f28221f.hashCode();
            this.f28225j = hashCode5;
            this.f28225j = (hashCode5 * 31) + this.f28224i.hashCode();
        }
        return this.f28225j;
    }

    public String toString() {
        return "EngineKey{model=" + this.f28217b + ", width=" + this.f28218c + ", height=" + this.f28219d + ", resourceClass=" + this.f28220e + ", transcodeClass=" + this.f28221f + ", signature=" + this.f28222g + ", hashCode=" + this.f28225j + ", transformations=" + this.f28223h + ", options=" + this.f28224i + '}';
    }
}
