package com.mbridge.msdk.newreward.function.command; import java.util.HashMap; /* loaded from: classes4.dex */ public class d { private static volatile d a; private HashMap b = new HashMap<>(); private c c; public final void a(c cVar) { this.c = cVar; } public final c b() { return this.c; } private d() { } public static d a() { if (a == null) { synchronized (d.class) { try { if (a == null) { a = new d(); } } finally { } } } return a; } public final com.mbridge.msdk.newreward.a.e a(String str) { return this.b.get(str); } public final void a(com.mbridge.msdk.newreward.a.e eVar) { if (this.b.get(eVar.G()) == null) { this.b.put(eVar.G(), eVar); } } public final void b(String str) { this.b.remove(str); } }