what-the-bank/sources/com/google/android/gms/internal/measurement/zzlk.java

35 lines
1017 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class zzlk {
private static final zzlk zza = new zzlk();
private final ConcurrentMap<Class<?>, zzln<?>> zzc = new ConcurrentHashMap();
private final zzlo zzb = new zzku();
private zzlk() {
}
public final <T> zzln<T> zzb(Class<T> cls) {
zzkf.zzf(cls, "messageType");
zzln<T> zzlnVar = (zzln) this.zzc.get(cls);
if (zzlnVar == null) {
zzlnVar = this.zzb.zza(cls);
zzkf.zzf(cls, "messageType");
zzkf.zzf(zzlnVar, "schema");
zzln<T> zzlnVar2 = (zzln) this.zzc.putIfAbsent(cls, zzlnVar);
if (zzlnVar2 != null) {
return zzlnVar2;
}
}
return zzlnVar;
}
public static zzlk zza() {
return zza;
}
}