package o;

import java.util.Date;
import java.util.HashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.oJ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2040oJ implements InterfaceC0592Wv {
    public static final C1850mJ f;
    public static final C1850mJ g;
    public final HashMap a;
    public final HashMap b;
    public final C1755lJ c;
    public boolean d;
    public static final C1755lJ e = new C1755lJ(0);
    public static final C1945nJ h = new C1945nJ();

    /* JADX WARN: Type inference failed for: r0v1, types: [o.mJ] */
    /* JADX WARN: Type inference failed for: r0v2, types: [o.mJ] */
    static {
        final int i = 0;
        f = new InterfaceC2928xi0() { // from class: o.mJ
            @Override // o.InterfaceC0566Vv
            public final void a(Object obj, Object obj2) {
                switch (i) {
                    case 0:
                        ((InterfaceC3023yi0) obj2).e((String) obj);
                        break;
                    default:
                        ((InterfaceC3023yi0) obj2).f(((Boolean) obj).booleanValue());
                        break;
                }
            }
        };
        final int i2 = 1;
        g = new InterfaceC2928xi0() { // from class: o.mJ
            @Override // o.InterfaceC0566Vv
            public final void a(Object obj, Object obj2) {
                switch (i2) {
                    case 0:
                        ((InterfaceC3023yi0) obj2).e((String) obj);
                        break;
                    default:
                        ((InterfaceC3023yi0) obj2).f(((Boolean) obj).booleanValue());
                        break;
                }
            }
        };
    }

    public C2040oJ() {
        HashMap map = new HashMap();
        this.a = map;
        HashMap map2 = new HashMap();
        this.b = map2;
        this.c = e;
        this.d = false;
        map2.put(String.class, f);
        map.remove(String.class);
        map2.put(Boolean.class, g);
        map.remove(Boolean.class);
        map2.put(Date.class, h);
        map.remove(Date.class);
    }

    public final InterfaceC0592Wv a(Class cls, InterfaceC0906cT interfaceC0906cT) {
        this.a.put(cls, interfaceC0906cT);
        this.b.remove(cls);
        return this;
    }
}
