68 lines
2.1 KiB
Java
68 lines
2.1 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import java.util.ArrayList;
|
|
import java.util.Comparator;
|
|
import java.util.Iterator;
|
|
import o.C0608Kn;
|
|
|
|
/* renamed from: o.su, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16989su extends AbstractC16173lt<LB, C0608Kn> {
|
|
@Override // o.AbstractC16173lt
|
|
public final /* synthetic */ C0608Kn d(LB lb) {
|
|
return c(lb);
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C16989su(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
}
|
|
|
|
public static C0608Kn c(LB lb) {
|
|
ArrayList arrayList = new ArrayList();
|
|
Iterator<LF> it = lb.x.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(c(it.next()));
|
|
}
|
|
C0608Kn.LWm lWm = new C0608Kn.LWm();
|
|
lWm.b = arrayList;
|
|
YKU yku = new YKU(lb.r);
|
|
lWm.a = new YKU(yku.a, new C17745zRk(yku.b, new Comparator<T>(yku) { // from class: o.YKU.4
|
|
private YKU c;
|
|
|
|
public AnonymousClass4(YKU yku2) {
|
|
this.c = yku2;
|
|
}
|
|
|
|
@Override // java.util.Comparator
|
|
public final int compare(T t, T t2) {
|
|
return ((Comparable) t).compareTo((Comparable) t2);
|
|
}
|
|
})).b();
|
|
return new C0608Kn(lWm, (byte) 0);
|
|
}
|
|
|
|
public static C0608Kn e(LB lb) {
|
|
ArrayList arrayList = new ArrayList();
|
|
Iterator<LF> it = lb.x.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(c(it.next()));
|
|
}
|
|
C0608Kn.LWm lWm = new C0608Kn.LWm();
|
|
lWm.b = arrayList;
|
|
lWm.a = lb.r;
|
|
lWm.c = true;
|
|
return new C0608Kn(lWm, (byte) 0);
|
|
}
|
|
|
|
private static C0608Kn.Sts c(LF lf) {
|
|
C0608Kn.Sts.C0086Sts c0086Sts = new C0608Kn.Sts.C0086Sts();
|
|
c0086Sts.c = lf.b;
|
|
c0086Sts.e = Double.valueOf(!gjJ.b((CharSequence) lf.d) ? Double.parseDouble(lf.d) : 0.0d);
|
|
c0086Sts.d = Double.valueOf(gjJ.b((CharSequence) lf.d) ? 0.0d : Double.parseDouble(lf.a));
|
|
return new C0608Kn.Sts(c0086Sts, (byte) 0);
|
|
}
|
|
}
|