.class public abstract Lio/reactivex/Maybe; .super Ljava/lang/Object; .source "Maybe.java" # interfaces .implements Lio/reactivex/MaybeSource; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lio/reactivex/MaybeSource<", "TT;>;" } .end annotation # direct methods .method public constructor ()V .locals 0 .line 47 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static amb(Ljava/lang/Iterable;)Lio/reactivex/Maybe; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+", "Lio/reactivex/MaybeSource<", "+TT;>;>;)", "Lio/reactivex/Maybe<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "sources is null" .line 63 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 64 new-instance v0, Lio/reactivex/internal/operators/maybe/MaybeAmb; const/4 v1, 0x0 invoke-direct {v0, v1, p0}, Lio/reactivex/internal/operators/maybe/MaybeAmb;->([Lio/reactivex/MaybeSource;Ljava/lang/Iterable;)V invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onAssembly(Lio/reactivex/Maybe;)Lio/reactivex/Maybe; move-result-object p0 return-object p0 .end method .method public static varargs ambArray([Lio/reactivex/MaybeSource;)Lio/reactivex/Maybe; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "([", "Lio/reactivex/MaybeSource<", "+TT;>;)", "Lio/reactivex/Maybe<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation .line 82 array-length v0, p0 if-nez v0, :cond_0 .line 83 invoke-static {}, Lio/reactivex/Maybe;->empty()Lio/reactivex/Maybe; move-result-object p0 return-object p0 .line 85 :cond_0 array-length v0, p0 const/4 v1, 0x1 if-ne v0, v1, :cond_1 const/4 v0, 0x0 .line 86 aget-object p0, p0, v0 invoke-static {p0}, Lio/reactivex/Maybe;->wrap(Lio/reactivex/MaybeSource;)Lio/reactivex/Maybe; move-result-object p0 return-object p0 .line 88 :cond_1 new-instance v0, Lio/reactivex/internal/operators/maybe/MaybeAmb; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Lio/reactivex/internal/operators/maybe/MaybeAmb;->([Lio/reactivex/MaybeSource;Ljava/lang/Iterable;)V invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onAssembly(Lio/reactivex/Maybe;)Lio/reactivex/Maybe; move-result-object p0 return-object p0 .end method .method public static concat(Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "source1 is null" .line 136 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source2 is null" .line 137 invoke-static {p1, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const/4 v0, 0x2 .line 138 new-array v0, v0, [Lio/reactivex/MaybeSource; const/4 v1, 0x0 aput-object p0, v0, v1 const/4 p0, 0x1 aput-object p1, v0, p0 invoke-static {v0}, Lio/reactivex/Maybe;->concatArray([Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; move-result-object p0 return-object p0 .end method .method public static concat(Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "source1 is null" .line 168 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source2 is null" .line 169 invoke-static {p1, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source3 is null" .line 170 invoke-static {p2, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const/4 v0, 0x3 .line 171 new-array v0, v0, [Lio/reactivex/MaybeSource; const/4 v1, 0x0 aput-object p0, v0, v1 const/4 p0, 0x1 aput-object p1, v0, p0 const/4 p0, 0x2 aput-object p2, v0, p0 invoke-static {v0}, Lio/reactivex/Maybe;->concatArray([Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; move-result-object p0 return-object p0 .end method .method public static concat(Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;", "Lio/reactivex/MaybeSource<", "+TT;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "source1 is null" .line 203 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source2 is null" .line 204 invoke-static {p1, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source3 is null" .line 205 invoke-static {p2, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "source4 is null" .line 206 invoke-static {p3, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const/4 v0, 0x4 .line 207 new-array v0, v0, [Lio/reactivex/MaybeSource; const/4 v1, 0x0 aput-object p0, v0, v1 const/4 p0, 0x1 aput-object p1, v0, p0 const/4 p0, 0x2 aput-object p2, v0, p0 const/4 p0, 0x3 aput-object p3, v0, p0 invoke-static {v0}, Lio/reactivex/Maybe;->concatArray([Lio/reactivex/MaybeSource;)Lio/reactivex/Flowable; move-result-object p0 return-object p0 .end method .method public static concat(Ljava/lang/Iterable;)Lio/reactivex/Flowable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+", "Lio/reactivex/MaybeSource<", "+TT;>;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "sources is null" .line 108 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; .line 109 new-instance v0, Lio/reactivex/internal/operators/maybe/MaybeConcatIterable; invoke-direct {v0, p0}, Lio/reactivex/internal/operators/maybe/MaybeConcatIterable;->(Ljava/lang/Iterable;)V invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onAssembly(Lio/reactivex/Flowable;)Lio/reactivex/Flowable; move-result-object p0 return-object p0 .end method .method public static concat(Lorg/reactivestreams/Publisher;)Lio/reactivex/Flowable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lorg/reactivestreams/Publisher<", "+", "Lio/reactivex/MaybeSource<", "+TT;>;>;)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const/4 v0, 0x2 .line 229 invoke-static {p0, v0}, Lio/reactivex/Maybe;->concat(Lorg/reactivestreams/Publisher;I)Lio/reactivex/Flowable; move-result-object p0 return-object p0 .end method .method public static concat(Lorg/reactivestreams/Publisher;I)Lio/reactivex/Flowable; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lorg/reactivestreams/Publisher<", "+", "Lio/reactivex/MaybeSource<", "+TT;>;>;I)", "Lio/reactivex/Flowable<", "TT;>;" } .end annotation .annotation runtime Lio/reactivex/annotations/BackpressureSupport; value = .enum Lio/reactivex/annotations/BackpressureKind;->FULL:Lio/reactivex/annotations/BackpressureKind; .end annotation .annotation runtime Lio/reactivex/annotations/CheckReturnValue; .end annotation .annotation runtime Lio/reactivex/annotations/SchedulerSupport; value = "none" .end annotation const-string v0, "sources is null" .line 253 invoke-static {p0, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "prefetch" .line 254 invoke-static {p1, v0}, Lio/reactivex/internal/functions/ObjectHelper;->verifyPositive(ILjava/lang/String;)I .line 255 new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableConcatMap; invoke-static {}, Lio/reactivex/internal/operators/maybe/MaybeToPublisher;->instance()Lio/reactivex/functions/Function; move-result-object v1 sget-object v2, Lio/reactivex/internal/util/ErrorMode;->IMMEDIATE:Lio/reactivex/internal/util/ErrorMode; invoke-direct {v0, p0, v1, p1, v2}, Lio/reactivex/internal/operators/flowable/FlowableConcatMap;->(Lorg/reactivestreams/Publisher;Lio/reactivex/functions/Function;ILio/reactivex/internal/util/ErrorMode;)V invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onAssembly(Lio/reactivex/Fl