package jh;

import java.security.MessageDigest;

/* loaded from: classes4.dex */
public final class h implements f {

    /* renamed from: b, reason: collision with root package name */
    private final androidx.collection.a f24980b = new ei.b();

    private static void f(g gVar, Object obj, MessageDigest messageDigest) {
        gVar.g(obj, messageDigest);
    }

    @Override // jh.f
    public void a(MessageDigest messageDigest) {
        for (int i10 = 0; i10 < this.f24980b.size(); i10++) {
            f((g) this.f24980b.f(i10), this.f24980b.m(i10), messageDigest);
        }
    }

    public Object c(g gVar) {
        return this.f24980b.containsKey(gVar) ? this.f24980b.get(gVar) : gVar.c();
    }

    public void d(h hVar) {
        this.f24980b.g(hVar.f24980b);
    }

    public h e(g gVar, Object obj) {
        this.f24980b.put(gVar, obj);
        return this;
    }

    @Override // jh.f
    public boolean equals(Object obj) {
        if (obj instanceof h) {
            return this.f24980b.equals(((h) obj).f24980b);
        }
        return false;
    }

    @Override // jh.f
    public int hashCode() {
        return this.f24980b.hashCode();
    }

    public String toString() {
        return "Options{values=" + this.f24980b + '}';
    }
}
