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

66 lines
1.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes6.dex */
public final class fVG<T> extends fUX<T, T> {
public fVG(InterfaceC13169fSq<T> interfaceC13169fSq) {
super(interfaceC13169fSq);
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.c.subscribe(new HBt(interfaceC13174fSv));
}
/* loaded from: classes6.dex */
static final class HBt<T> implements InterfaceC13174fSv<T>, fSJ {
private fSJ a;
private InterfaceC13174fSv<? super T> e;
HBt(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.e = interfaceC13174fSv;
}
@Override // o.fSJ
public final void dispose() {
fSJ fsj = this.a;
this.a = fYP.INSTANCE;
this.e = fYP.e();
fsj.dispose();
}
@Override // o.fSJ
public final boolean isDisposed() {
return this.a.isDisposed();
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
if (EnumC13192fTf.d(this.a, fsj)) {
this.a = fsj;
this.e.onSubscribe(this);
}
}
@Override // o.InterfaceC13174fSv
public final void onNext(T t) {
this.e.onNext(t);
}
@Override // o.InterfaceC13174fSv
public final void onError(Throwable th) {
InterfaceC13174fSv<? super T> interfaceC13174fSv = this.e;
this.a = fYP.INSTANCE;
this.e = fYP.e();
interfaceC13174fSv.onError(th);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
InterfaceC13174fSv<? super T> interfaceC13174fSv = this.e;
this.a = fYP.INSTANCE;
this.e = fYP.e();
interfaceC13174fSv.onComplete();
}
}
}