74 lines
2.1 KiB
Java
74 lines
2.1 KiB
Java
package o;
|
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* renamed from: o.fYj, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13371fYj<T> extends AbstractC13175fSw<T> {
|
|
private AbstractC13173fSu d;
|
|
private fSD<T> e;
|
|
|
|
public C13371fYj(fSD<T> fsd, AbstractC13173fSu abstractC13173fSu) {
|
|
this.e = fsd;
|
|
this.d = abstractC13173fSu;
|
|
}
|
|
|
|
@Override // o.AbstractC13175fSw
|
|
public final void e(InterfaceC13176fSx<? super T> interfaceC13176fSx) {
|
|
this.e.c(new LWm(interfaceC13176fSx, this.d));
|
|
}
|
|
|
|
/* renamed from: o.fYj$LWm */
|
|
/* loaded from: classes6.dex */
|
|
static final class LWm<T> extends AtomicReference<fSJ> implements InterfaceC13176fSx<T>, fSJ, Runnable {
|
|
private AbstractC13173fSu a;
|
|
private Throwable b;
|
|
private T c;
|
|
private InterfaceC13176fSx<? super T> e;
|
|
|
|
LWm(InterfaceC13176fSx<? super T> interfaceC13176fSx, AbstractC13173fSu abstractC13173fSu) {
|
|
this.e = interfaceC13176fSx;
|
|
this.a = abstractC13173fSu;
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (EnumC13192fTf.a(this, fsj)) {
|
|
this.e.onSubscribe(this);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void e(T t) {
|
|
this.c = t;
|
|
EnumC13192fTf.c(this, this.a.a(this));
|
|
}
|
|
|
|
@Override // o.InterfaceC13176fSx
|
|
public final void onError(Throwable th) {
|
|
this.b = th;
|
|
EnumC13192fTf.c(this, this.a.a(this));
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
Throwable th = this.b;
|
|
if (th != null) {
|
|
this.e.onError(th);
|
|
} else {
|
|
this.e.e(this.c);
|
|
}
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
EnumC13192fTf.e(this);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return EnumC13192fTf.c(get());
|
|
}
|
|
}
|
|
}
|