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

61 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* renamed from: o.fVx, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13280fVx<T> extends fUX<T, Long> {
public C13280fVx(InterfaceC13169fSq<T> interfaceC13169fSq) {
super(interfaceC13169fSq);
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super Long> interfaceC13174fSv) {
this.c.subscribe(new IeS(interfaceC13174fSv));
}
/* renamed from: o.fVx$IeS */
/* loaded from: classes6.dex */
static final class IeS implements InterfaceC13174fSv<Object>, fSJ {
private fSJ b;
private InterfaceC13174fSv<? super Long> c;
private long e;
IeS(InterfaceC13174fSv<? super Long> interfaceC13174fSv) {
this.c = interfaceC13174fSv;
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
if (EnumC13192fTf.d(this.b, fsj)) {
this.b = fsj;
this.c.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 onError(Throwable th) {
this.c.onError(th);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
this.c.onNext(Long.valueOf(this.e));
this.c.onComplete();
}
@Override // o.InterfaceC13174fSv
public final void onNext(Object obj) {
this.e++;
}
}
}