47 lines
816 B
Java
47 lines
816 B
Java
|
package com.huawei.hms.hatool;
|
||
|
|
||
|
import java.util.HashMap;
|
||
|
import java.util.Map;
|
||
|
import java.util.Set;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class s {
|
||
|
static Map<String, l1> b = new HashMap();
|
||
|
private static s c;
|
||
|
private g1 a = new g1();
|
||
|
|
||
|
public final g1 b() {
|
||
|
return this.a;
|
||
|
}
|
||
|
|
||
|
public final void a(String str, l1 l1Var) {
|
||
|
b.put(str, l1Var);
|
||
|
}
|
||
|
|
||
|
public final Set<String> a() {
|
||
|
return b.keySet();
|
||
|
}
|
||
|
|
||
|
public final l1 a(String str) {
|
||
|
return b.get(str);
|
||
|
}
|
||
|
|
||
|
private static void d() {
|
||
|
synchronized (s.class) {
|
||
|
if (c == null) {
|
||
|
c = new s();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static s c() {
|
||
|
if (c == null) {
|
||
|
d();
|
||
|
}
|
||
|
return c;
|
||
|
}
|
||
|
|
||
|
private s() {
|
||
|
}
|
||
|
}
|