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

32 lines
698 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes.dex */
public final class gya {
public final List<Sts<?>> a = new ArrayList();
public final <T> gaU<T> d(Class<T> cls) {
synchronized (this) {
for (Sts<?> sts : this.a) {
if (sts.e.isAssignableFrom(cls)) {
return (gaU<T>) sts.c;
}
}
return null;
}
}
/* loaded from: classes.dex */
public static final class Sts<T> {
final gaU<T> c;
final Class<T> e;
public Sts(Class<T> cls, gaU<T> gau) {
this.e = cls;
this.c = gau;
}
}
}