package xc;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.HashMap;

/* JADX INFO: loaded from: classes.dex */
public final class d {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static d f34781b;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final HashMap f34782a = new HashMap();

    @Nullable
    public c get(@NonNull String str) {
        return (c) this.f34782a.get(str);
    }

    public void put(@NonNull String str, @Nullable c cVar) {
        HashMap map = this.f34782a;
        if (cVar != null) {
            map.put(str, cVar);
        } else {
            map.remove(str);
        }
    }
}
