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

52 lines
1.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.vL, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17259vL extends C16157lj {
@InterfaceC13391fZD
public C17259vL(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
/* renamed from: o.vL$IeS */
/* loaded from: classes3.dex */
public static final class IeS<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((MEd) t).c);
Integer valueOf2 = Integer.valueOf(((MEd) t2).c);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
public static List<String> a(NHA nha) {
C14957gcv.e(nha, "");
List a = C14881gav.a((Iterable) nha.c, (Comparator) new IeS());
C14957gcv.e(a, "");
ArrayList arrayList = new ArrayList(a instanceof Collection ? a.size() : 10);
Iterator it = a.iterator();
while (it.hasNext()) {
arrayList.add(((MEd) it.next()).a);
}
return arrayList;
}
}