33 lines
858 B
Java
33 lines
858 B
Java
|
package o;
|
||
|
|
||
|
import java.util.concurrent.ConcurrentHashMap;
|
||
|
import java.util.concurrent.ConcurrentMap;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class MvG {
|
||
|
private static final MvG d = new MvG();
|
||
|
private final ConcurrentMap<Class<?>, Wnq<?>> b = new ConcurrentHashMap();
|
||
|
private final HcW a = new C17042tUb();
|
||
|
|
||
|
public final <T> Wnq<T> b(Class<T> cls) {
|
||
|
MTP.c(cls, "messageType");
|
||
|
Wnq<T> wnq = (Wnq) this.b.get(cls);
|
||
|
if (wnq != null) {
|
||
|
return wnq;
|
||
|
}
|
||
|
Wnq<T> e = this.a.e(cls);
|
||
|
MTP.c(cls, "messageType");
|
||
|
MTP.c(e, "schema");
|
||
|
Wnq<T> wnq2 = (Wnq) this.b.putIfAbsent(cls, e);
|
||
|
return wnq2 != null ? wnq2 : e;
|
||
|
}
|
||
|
|
||
|
private MvG() {
|
||
|
}
|
||
|
|
||
|
public static MvG a() {
|
||
|
return d;
|
||
|
}
|
||
|
}
|