33 lines
852 B
Java
33 lines
852 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 mNa {
|
||
|
private static final mNa b = new mNa();
|
||
|
private final ConcurrentMap<Class<?>, CSi<?>> a = new ConcurrentHashMap();
|
||
|
private final vct c = new pwd();
|
||
|
|
||
|
public final <T> CSi<T> e(Class<T> cls) {
|
||
|
oZe.a(cls, "messageType");
|
||
|
CSi<T> cSi = (CSi) this.a.get(cls);
|
||
|
if (cSi != null) {
|
||
|
return cSi;
|
||
|
}
|
||
|
CSi<T> c = this.c.c(cls);
|
||
|
oZe.a(cls, "messageType");
|
||
|
oZe.a(c, "schema");
|
||
|
CSi<T> cSi2 = (CSi) this.a.putIfAbsent(cls, c);
|
||
|
return cSi2 != null ? cSi2 : c;
|
||
|
}
|
||
|
|
||
|
private mNa() {
|
||
|
}
|
||
|
|
||
|
public static mNa a() {
|
||
|
return b;
|
||
|
}
|
||
|
}
|