70 lines
2.0 KiB
Java
70 lines
2.0 KiB
Java
package o;
|
|
|
|
/* renamed from: o.fVy, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13281fVy<T> extends AbstractC13175fSw<Long> implements InterfaceC13204fTr<Long> {
|
|
private InterfaceC13169fSq<T> c;
|
|
|
|
public C13281fVy(InterfaceC13169fSq<T> interfaceC13169fSq) {
|
|
this.c = interfaceC13169fSq;
|
|
}
|
|
|
|
@Override // o.AbstractC13175fSw
|
|
public final void e(InterfaceC13176fSx<? super Long> interfaceC13176fSx) {
|
|
this.c.subscribe(new IeS(interfaceC13176fSx));
|
|
}
|
|
|
|
@Override // o.InterfaceC13204fTr
|
|
public final AbstractC13163fSk<Long> b() {
|
|
return new C13280fVx(this.c);
|
|
}
|
|
|
|
/* renamed from: o.fVy$IeS */
|
|
/* loaded from: classes6.dex */
|
|
static final class IeS implements InterfaceC13174fSv<Object>, fSJ {
|
|
private long a;
|
|
private InterfaceC13176fSx<? super Long> c;
|
|
private fSJ e;
|
|
|
|
IeS(InterfaceC13176fSx<? super Long> interfaceC13176fSx) {
|
|
this.c = interfaceC13176fSx;
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (EnumC13192fTf.d(this.e, fsj)) {
|
|
this.e = fsj;
|
|
this.c.onSubscribe(this);
|
|
}
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
this.e.dispose();
|
|
this.e = EnumC13192fTf.DISPOSED;
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return this.e.isDisposed();
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
this.e = EnumC13192fTf.DISPOSED;
|
|
this.c.onError(th);
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
this.e = EnumC13192fTf.DISPOSED;
|
|
this.c.e(Long.valueOf(this.a));
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onNext(Object obj) {
|
|
this.a++;
|
|
}
|
|
}
|
|
}
|