32 lines
698 B
Java
32 lines
698 B
Java
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|