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

67 lines
1.8 KiB
Java

package o;
/* renamed from: o.fXt, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13346fXt<T> extends fUX<T, T> {
public C13346fXt(InterfaceC13169fSq<T> interfaceC13169fSq) {
super(interfaceC13169fSq);
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.c.subscribe(new LWm(interfaceC13174fSv));
}
/* renamed from: o.fXt$LWm */
/* loaded from: classes6.dex */
static final class LWm<T> implements InterfaceC13174fSv<T>, fSJ {
private InterfaceC13174fSv<? super T> a;
private fSJ b;
private T d;
LWm(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.a = interfaceC13174fSv;
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
if (EnumC13192fTf.d(this.b, fsj)) {
this.b = fsj;
this.a.onSubscribe(this);
}
}
@Override // o.InterfaceC13174fSv
public final void onError(Throwable th) {
this.d = null;
this.a.onError(th);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
T t = this.d;
if (t != null) {
this.d = null;
this.a.onNext(t);
}
this.a.onComplete();
}
@Override // o.fSJ
public final void dispose() {
this.d = null;
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 = t;
}
}
}