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

61 lines
1.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Objects;
/* renamed from: o.fWw, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13314fWw<T, U> extends fUX<T, U> {
private fSS<? super T, ? extends U> e;
public C13314fWw(InterfaceC13169fSq<T> interfaceC13169fSq, fSS<? super T, ? extends U> fss) {
super(interfaceC13169fSq);
this.e = fss;
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super U> interfaceC13174fSv) {
this.c.subscribe(new RVV(interfaceC13174fSv, this.e));
}
/* renamed from: o.fWw$RVV */
/* loaded from: classes6.dex */
static final class RVV<T, U> extends fTA<T, U> {
private fSS<? super T, ? extends U> a;
RVV(InterfaceC13174fSv<? super U> interfaceC13174fSv, fSS<? super T, ? extends U> fss) {
super(interfaceC13174fSv);
this.a = fss;
}
@Override // o.InterfaceC13174fSv
public final void onNext(T t) {
if (this.c) {
return;
}
if (this.b != 0) {
this.d.onNext(null);
return;
}
try {
this.d.onNext(Objects.requireNonNull(this.a.a(t), "The mapper function returned a null value."));
} catch (Throwable th) {
b(th);
}
}
@Override // o.InterfaceC13413fZp
public final int b(int i) {
return e(i);
}
@Override // o.InterfaceC13414fZq
public final U b() throws Throwable {
T b = this.e.b();
if (b != null) {
return (U) Objects.requireNonNull(this.a.a(b), "The mapper function returned a null value.");
}
return null;
}
}
}