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

98 lines
3.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.concurrent.atomic.AtomicReference;
/* renamed from: o.fVB, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13250fVB<T, U> extends AbstractC13163fSk<T> {
final InterfaceC13169fSq<? extends T> b;
private InterfaceC13169fSq<U> e;
public C13250fVB(InterfaceC13169fSq<? extends T> interfaceC13169fSq, InterfaceC13169fSq<U> interfaceC13169fSq2) {
this.b = interfaceC13169fSq;
this.e = interfaceC13169fSq2;
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
C13197fTk c13197fTk = new C13197fTk();
interfaceC13174fSv.onSubscribe(c13197fTk);
this.e.subscribe(new IeS(this, c13197fTk, interfaceC13174fSv));
}
/* renamed from: o.fVB$IeS */
/* loaded from: classes6.dex */
final class IeS implements InterfaceC13174fSv<U> {
private C13250fVB a;
final InterfaceC13174fSv<? super T> b;
final C13197fTk c;
private boolean e;
IeS(C13250fVB c13250fVB, C13197fTk c13197fTk, InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.a = c13250fVB;
this.c = c13197fTk;
this.b = interfaceC13174fSv;
}
@Override // o.InterfaceC13174fSv
public final void onNext(U u) {
onComplete();
}
@Override // o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.e) {
C13418fZu.c(th);
} else {
this.e = true;
this.b.onError(th);
}
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
if (this.e) {
return;
}
this.e = true;
this.a.b.subscribe(new LWm(this));
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.fVB$IeS$LWm */
/* loaded from: classes6.dex */
public final class LWm implements InterfaceC13174fSv<T> {
private IeS b;
LWm(IeS ieS) {
this.b = ieS;
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
EnumC13192fTf.d((AtomicReference<fSJ>) this.b.c, fsj);
}
@Override // o.InterfaceC13174fSv
public final void onNext(T t) {
this.b.b.onNext(t);
}
@Override // o.InterfaceC13174fSv
public final void onError(Throwable th) {
this.b.b.onError(th);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
this.b.b.onComplete();
}
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
EnumC13192fTf.d((AtomicReference<fSJ>) this.c, fsj);
}
}
}