31 lines
842 B
Java
31 lines
842 B
Java
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);
|
|
}
|
|
}
|