34 lines
785 B
Java
34 lines
785 B
Java
|
package o;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class Kpr {
|
||
|
public final List<LWm<?>> e = new ArrayList();
|
||
|
|
||
|
public final <Z> nuW<Z> e(Class<Z> cls) {
|
||
|
synchronized (this) {
|
||
|
int size = this.e.size();
|
||
|
for (int i = 0; i < size; i++) {
|
||
|
LWm<?> lWm = this.e.get(i);
|
||
|
if (lWm.b.isAssignableFrom(cls)) {
|
||
|
return (nuW<Z>) lWm.d;
|
||
|
}
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class LWm<T> {
|
||
|
final Class<T> b;
|
||
|
final nuW<T> d;
|
||
|
|
||
|
public LWm(Class<T> cls, nuW<T> nuw) {
|
||
|
this.b = cls;
|
||
|
this.d = nuw;
|
||
|
}
|
||
|
}
|
||
|
}
|