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

31 lines
842 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.piz, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C16613piz {
public final List<BrP> c = new ArrayList();
public final <T extends BrP> T c(Class<T> cls) {
Iterator<BrP> it = this.c.iterator();
while (it.hasNext()) {
T t = (T) it.next();
if (cls.isAssignableFrom(t.getClass())) {
return t;
}
}
return null;
}
public final String toString() {
int size = this.c.size();
Object[] objArr = new Object[2];
objArr[0] = Integer.valueOf(size);
objArr[1] = size == 1 ? "directory" : "directories";
return String.format("Metadata (%d %s)", objArr);
}
}