86 lines
3.1 KiB
Java
86 lines
3.1 KiB
Java
package o;
|
|
|
|
import java.util.Objects;
|
|
import java.util.concurrent.Callable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class fRY implements fRZ {
|
|
protected abstract void c(InterfaceC13154fSb interfaceC13154fSb);
|
|
|
|
public static fRY e(InterfaceC13153fSa interfaceC13153fSa) {
|
|
Objects.requireNonNull(interfaceC13153fSa, "source is null");
|
|
return new C13224fUc(interfaceC13153fSa);
|
|
}
|
|
|
|
public static fRY b(fSP fsp) {
|
|
Objects.requireNonNull(fsp, "action is null");
|
|
return new C13231fUj(fsp);
|
|
}
|
|
|
|
public static fRY c(Callable<?> callable) {
|
|
Objects.requireNonNull(callable, "callable is null");
|
|
return new C13233fUl(callable);
|
|
}
|
|
|
|
public static <T> fRY b(InterfaceC13169fSq<T> interfaceC13169fSq) {
|
|
Objects.requireNonNull(interfaceC13169fSq, "observable is null");
|
|
return new C13232fUk(interfaceC13169fSq);
|
|
}
|
|
|
|
public static <T> fRY e(fSD<T> fsd) {
|
|
Objects.requireNonNull(fsd, "single is null");
|
|
return new C13230fUi(fsd);
|
|
}
|
|
|
|
@SafeVarargs
|
|
public static fRY c(fRZ... frzArr) {
|
|
Objects.requireNonNull(frzArr, "sources is null");
|
|
int length = frzArr.length;
|
|
int length2 = frzArr.length;
|
|
return new C13237fUp(frzArr);
|
|
}
|
|
|
|
public static fRY e(fRZ frz) {
|
|
Objects.requireNonNull(frz, "source is null");
|
|
if (frz instanceof fRY) {
|
|
return (fRY) frz;
|
|
}
|
|
return new C13229fUh(frz);
|
|
}
|
|
|
|
public final fRY a(fSQ<? super fSJ> fsq, fSQ<? super Throwable> fsq2, fSP fsp, fSP fsp2, fSP fsp3, fSP fsp4) {
|
|
Objects.requireNonNull(fsq, "onSubscribe is null");
|
|
Objects.requireNonNull(fsq2, "onError is null");
|
|
Objects.requireNonNull(fsp, "onComplete is null");
|
|
Objects.requireNonNull(fsp2, "onTerminate is null");
|
|
Objects.requireNonNull(fsp3, "onAfterTerminate is null");
|
|
Objects.requireNonNull(fsp4, "onDispose is null");
|
|
return new C13234fUm(this, fsq, fsq2, fsp, fsp2, fsp3, fsp4);
|
|
}
|
|
|
|
@Override // o.fRZ
|
|
public final void e(InterfaceC13154fSb interfaceC13154fSb) {
|
|
Objects.requireNonNull(interfaceC13154fSb, "observer is null");
|
|
try {
|
|
Objects.requireNonNull(interfaceC13154fSb, "The RxJavaPlugins.onSubscribe hook returned a null CompletableObserver. Please check the handler provided to RxJavaPlugins.setOnCompletableSubscribe for invalid null returns. Further reading: https://github.com/ReactiveX/RxJava/wiki/Plugins");
|
|
c(interfaceC13154fSb);
|
|
} catch (NullPointerException e) {
|
|
throw e;
|
|
} catch (Throwable th) {
|
|
C13147fSI.c(th);
|
|
C13418fZu.c(th);
|
|
NullPointerException nullPointerException = new NullPointerException("Actually not, but can't pass out an exception otherwise...");
|
|
nullPointerException.initCause(th);
|
|
throw nullPointerException;
|
|
}
|
|
}
|
|
|
|
public final fSJ a(fSP fsp, fSQ<? super Throwable> fsq) {
|
|
Objects.requireNonNull(fsq, "onError is null");
|
|
Objects.requireNonNull(fsp, "onComplete is null");
|
|
fTP ftp = new fTP(fsq, fsp);
|
|
e(ftp);
|
|
return ftp;
|
|
}
|
|
}
|