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

155 lines
5.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/* loaded from: classes.dex */
public final class PRA {
static {
new wQZ<long[]>() { // from class: o.PRA.2
@Override // o.wQZ
public final /* bridge */ /* synthetic */ long[] e() {
return new long[]{0, 0};
}
};
new wQZ<double[]>() { // from class: o.PRA.5
@Override // o.wQZ
public final /* bridge */ /* synthetic */ double[] e() {
return new double[]{0.0d, 0.0d};
}
};
}
/* JADX INFO: Add missing generic type declarations: [R, T] */
/* renamed from: o.PRA$1, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass1<R, T> implements lRr<R, T> {
@Override // o.lRr
public final /* synthetic */ void c(Object obj, Object obj2) {
((Collection) obj).add(obj2);
}
}
/* JADX INFO: Add missing generic type declarations: [T] */
/* renamed from: o.PRA$8, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass8<T> implements lRr<List<T>, T> {
@Override // o.lRr
public final /* synthetic */ void c(Object obj, Object obj2) {
((List) obj).add(obj2);
}
}
/* JADX INFO: Add missing generic type declarations: [T] */
/* renamed from: o.PRA$6, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass6<T> implements lRr<Set<T>, T> {
@Override // o.lRr
public final /* synthetic */ void c(Object obj, Object obj2) {
((Set) obj).add(obj2);
}
}
/* JADX INFO: Add missing generic type declarations: [T, M] */
/* renamed from: o.PRA$3, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass3<M, T> implements lRr<M, T> {
private InterfaceC1244Ytw d;
private InterfaceC1244Ytw e;
public AnonymousClass3(InterfaceC1244Ytw interfaceC1244Ytw, InterfaceC1244Ytw interfaceC1244Ytw2) {
this.e = interfaceC1244Ytw;
this.d = interfaceC1244Ytw2;
}
@Override // o.lRr
public final /* synthetic */ void c(Object obj, Object obj2) {
Map map = (Map) obj;
Object d = this.e.d(obj2);
Object d2 = this.d.d(obj2);
Object put = map.put(d, d2);
if (put == null) {
return;
}
map.put(d, put);
throw new IllegalStateException(String.format("Duplicate key %s (attempted merging values %s and %s)", d, put, d2));
}
}
/* JADX INFO: Add missing generic type declarations: [T] */
/* renamed from: o.PRA$4, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass4<T> implements wQZ<List<T>> {
@Override // o.wQZ
public final /* synthetic */ Object e() {
return new ArrayList();
}
}
/* loaded from: classes.dex */
public static final class Sts<T, A, R> implements InterfaceC12534ezy<T, A, R> {
private final lRr<A, T> a;
private final wQZ<A> d;
private final InterfaceC1244Ytw<A, R> e;
public Sts(wQZ<A> wqz, lRr<A, T> lrr) {
this(wqz, lrr, (byte) 0);
}
private Sts(wQZ<A> wqz, lRr<A, T> lrr, byte b) {
this.d = wqz;
this.a = lrr;
this.e = null;
}
@Override // o.InterfaceC12534ezy
public final wQZ<A> c() {
return this.d;
}
@Override // o.InterfaceC12534ezy
public final InterfaceC1244Ytw<A, R> d() {
return this.e;
}
@Override // o.InterfaceC12534ezy
public final lRr<A, T> e() {
return this.a;
}
}
/* JADX INFO: Add missing generic type declarations: [T] */
/* renamed from: o.PRA$9, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass9<T> implements wQZ<Set<T>> {
@Override // o.wQZ
public final /* synthetic */ Object e() {
return new HashSet();
}
}
public static <T, K> InterfaceC12534ezy<T, ?, Map<K, T>> d(InterfaceC1244Ytw<? super T, ? extends K> interfaceC1244Ytw) {
return new Sts(new AnonymousClass10(), new AnonymousClass3(interfaceC1244Ytw, new Upr<T>() { // from class: o.Upr.IeS.2
@Override // o.InterfaceC1244Ytw
public final T d(T t) {
return t;
}
}));
}
/* JADX INFO: Add missing generic type declarations: [V, K] */
/* renamed from: o.PRA$10, reason: invalid class name */
/* loaded from: classes.dex */
public static final class AnonymousClass10<K, V> implements wQZ<Map<K, V>> {
@Override // o.wQZ
public final /* synthetic */ Object e() {
return new HashMap();
}
}
}