80 lines
2.4 KiB
Java
80 lines
2.4 KiB
Java
package o;
|
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* renamed from: o.fVt, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13276fVt<T> extends fUX<T, T> {
|
|
private InterfaceC13160fSh<? extends T> e;
|
|
|
|
public C13276fVt(AbstractC13163fSk<T> abstractC13163fSk, InterfaceC13160fSh<? extends T> interfaceC13160fSh) {
|
|
super(abstractC13163fSk);
|
|
this.e = interfaceC13160fSh;
|
|
}
|
|
|
|
@Override // o.AbstractC13163fSk
|
|
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
|
|
this.c.subscribe(new Sts(interfaceC13174fSv, this.e));
|
|
}
|
|
|
|
/* renamed from: o.fVt$Sts */
|
|
/* loaded from: classes6.dex */
|
|
static final class Sts<T> extends AtomicReference<fSJ> implements InterfaceC13174fSv<T>, InterfaceC13161fSi<T>, fSJ {
|
|
private InterfaceC13174fSv<? super T> c;
|
|
private boolean d;
|
|
private InterfaceC13160fSh<? extends T> e;
|
|
|
|
Sts(InterfaceC13174fSv<? super T> interfaceC13174fSv, InterfaceC13160fSh<? extends T> interfaceC13160fSh) {
|
|
this.c = interfaceC13174fSv;
|
|
this.e = interfaceC13160fSh;
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (!EnumC13192fTf.a(this, fsj) || this.d) {
|
|
return;
|
|
}
|
|
this.c.onSubscribe(this);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onNext(T t) {
|
|
this.c.onNext(t);
|
|
}
|
|
|
|
@Override // o.InterfaceC13161fSi
|
|
public final void e(T t) {
|
|
this.c.onNext(t);
|
|
this.c.onComplete();
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
this.c.onError(th);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
if (this.d) {
|
|
this.c.onComplete();
|
|
return;
|
|
}
|
|
this.d = true;
|
|
EnumC13192fTf.c(this, null);
|
|
InterfaceC13160fSh<? extends T> interfaceC13160fSh = this.e;
|
|
this.e = null;
|
|
interfaceC13160fSh.c(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
EnumC13192fTf.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return EnumC13192fTf.c(get());
|
|
}
|
|
}
|
|
}
|