what-the-bank/sources/o/HuZ.java

33 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Collections;
import java.util.concurrent.atomic.AtomicReference;
/* loaded from: classes.dex */
public final class HuZ {
public static final C1239YsJ<?, ?, ?> e = new C1239YsJ<>(Object.class, Object.class, Object.class, Collections.singletonList(new C2582ahN(Object.class, Object.class, Object.class, Collections.emptyList(), new onb(), null)), null);
public final nyh<raY, C1239YsJ<?, ?, ?>> c = new nyh<>();
private final AtomicReference<raY> b = new AtomicReference<>();
public static boolean c(C1239YsJ<?, ?, ?> c1239YsJ) {
return e.equals(c1239YsJ);
}
/* JADX WARN: Multi-variable type inference failed */
public final <Data, TResource, Transcode> C1239YsJ<Data, TResource, Transcode> a(Class<Data> cls, Class<TResource> cls2, Class<Transcode> cls3) {
C1239YsJ<Data, TResource, Transcode> c1239YsJ;
raY andSet = this.b.getAndSet(null);
if (andSet == null) {
andSet = new raY();
}
andSet.e = cls;
andSet.d = cls2;
andSet.b = cls3;
synchronized (this.c) {
c1239YsJ = (C1239YsJ) this.c.get(andSet);
}
this.b.set(andSet);
return c1239YsJ;
}
}