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

59 lines
1.6 KiB
Java
Raw Normal View History

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