75 lines
2.1 KiB
Java
75 lines
2.1 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Comparator;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.qQ, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16690qQ {
|
|
@InterfaceC13391fZD
|
|
public C16690qQ() {
|
|
}
|
|
|
|
public static List<LT> c(List<ZYw> list) {
|
|
if (list == null) {
|
|
return null;
|
|
}
|
|
List<ZYw> list2 = list;
|
|
C14957gcv.e(list2, "");
|
|
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
|
Iterator<T> it = list2.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(a((ZYw) it.next()));
|
|
}
|
|
return arrayList;
|
|
}
|
|
|
|
public static List<LT> d(List<ZYw> list) {
|
|
if (list == null) {
|
|
return null;
|
|
}
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj : list) {
|
|
if (C14957gcv.b((Object) OVB.PRIVACY_NOTICE.name(), (Object) ((ZYw) obj).b)) {
|
|
arrayList.add(obj);
|
|
}
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
C14957gcv.e(arrayList2, "");
|
|
ArrayList arrayList3 = new ArrayList(arrayList2.size());
|
|
Iterator it = arrayList2.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList3.add(a((ZYw) it.next()));
|
|
}
|
|
return C14881gav.a((Iterable) arrayList3, (Comparator) new HBt());
|
|
}
|
|
|
|
/* renamed from: o.qQ$HBt */
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt<T> implements Comparator {
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // java.util.Comparator
|
|
public final int compare(T t, T t2) {
|
|
Integer num = ((LT) t).b;
|
|
Integer num2 = ((LT) t2).b;
|
|
if (num == num2) {
|
|
return 0;
|
|
}
|
|
if (num == null) {
|
|
return -1;
|
|
}
|
|
if (num2 == null) {
|
|
return 1;
|
|
}
|
|
return num.compareTo(num2);
|
|
}
|
|
}
|
|
|
|
private static LT a(ZYw zYw) {
|
|
return new LT(zYw.a, zYw.e, zYw.b, zYw.d, zYw.c);
|
|
}
|
|
}
|