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

35 lines
779 B
Java

package o;
import java.util.NoSuchElementException;
/* renamed from: o.fTs, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13205fTs<T> extends fTC<T> {
private T b;
private boolean d;
public C13205fTs(boolean z, T t) {
this.d = z;
this.b = t;
}
@Override // o.InterfaceC13174fSv
public final void onNext(T t) {
complete(t);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
if (isDone()) {
return;
}
this.c = null;
this.a.lazySet(EnumC13192fTf.DISPOSED);
if (this.d) {
complete(this.b);
} else {
completeExceptionally(new NoSuchElementException());
}
}
}