Uses of Annotation Interface
io.reactivex.rxjava3.annotations.SchedulerSupport
Packages that use SchedulerSupport
Package
Description
Base reactive classes:
Flowable, Observable,
Single, Maybe and
Completable; base reactive consumers;
other common base interfaces.Classes supporting the Flowable base reactive class:
ConnectableFlowable and
GroupedFlowable.Classes supporting the Observable base reactive class:
ConnectableObservable and
GroupedObservable.Contains the base type
ParallelFlowable,
a sub-DSL for working with Flowable sequences in parallel.Classes representing so-called hot backpressure-aware sources, aka processors,
that implement the
FlowableProcessor class,
the Reactive Streams Processor interface
to allow forms of multicasting events to one or more subscribers as well as consuming another
Reactive Streams Publisher.-
Uses of SchedulerSupport in io.reactivex.rxjava3.core
Methods in io.reactivex.rxjava3.core with annotations of type SchedulerSupportModifier and TypeMethodDescriptionstatic @NonNull CompletableCompletable.amb(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich terminates as soon as one of the sourceCompletables in theIterablesequence terminates (normally or with an error) and disposes all otherCompletables.Flowable.amb(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Mirrors the onePublisherin anIterableof severalPublishers that first either emits an item or sends a termination notification.Runs multipleMaybeSources provided by anIterablesequence and signals the events of the first one that signals (disposing the rest).static <@NonNull T>
@NonNull Observable<T> Observable.amb(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Mirrors the oneObservableSourcein anIterableof severalObservableSources that first either emits an item or sends a termination notification.Runs multipleSingleSources and signals the events of the first one that signals (disposing the rest).static @NonNull CompletableCompletable.ambArray(@NonNull CompletableSource... sources) Returns aCompletablewhich terminates as soon as one of the sourceCompletables terminates (normally or with an error) and disposes all otherCompletables.Mirrors the onePublisherin an array of severalPublishers that first either emits an item or sends a termination notification.Maybe.ambArray(@NonNull MaybeSource<? extends @NonNull T>... sources) Runs multipleMaybeSources and signals the events of the first one that signals (disposing the rest).static <@NonNull T>
@NonNull Observable<T> Observable.ambArray(@NonNull ObservableSource<? extends @NonNull T>... sources) Mirrors the oneObservableSourcein an array of severalObservableSources that first either emits an item or sends a termination notification.Single.ambArray(@NonNull SingleSource<? extends @NonNull T>... sources) Runs multipleSingleSources and signals the events of the first one that signals (disposing the rest).final @NonNull CompletableCompletable.ambWith(@NonNull CompletableSource other) Returns aCompletablethat emits the a terminated event of either thisCompletableor the otherCompletableSource, whichever fires first.Mirrors thePublisher(current or provided) that first either emits an item or sends a termination notification.Maybe.ambWith(@NonNull MaybeSource<? extends @NonNull T> other) Mirrors theMaybeSource(current or provided) that first signals an event.final @NonNull Observable<T> Observable.ambWith(@NonNull ObservableSource<? extends @NonNull T> other) Mirrors the currentObservableor the otherObservableSourceprovided of which the first either emits an item or sends a termination notification.Single.ambWith(@NonNull SingleSource<? extends @NonNull T> other) Signals the event of this or the otherSingleSourcewhichever signals first.final @NonNull CompletableCompletable.andThen(@NonNull CompletableSource next) Completable.andThen(@NonNull MaybeSource<@NonNull T> next) Returns aMaybewhich will subscribe to thisCompletableand once that is completed then will subscribe to thenextMaybeSource.final <@NonNull T>
@NonNull Observable<T> Completable.andThen(@NonNull ObservableSource<@NonNull T> next) Returns anObservablewhich will subscribe to thisCompletableand once that is completed then will subscribe to thenextObservableSource.Completable.andThen(@NonNull SingleSource<@NonNull T> next) Returns aSinglewhich will subscribe to thisCompletableand once that is completed then will subscribe to thenextSingleSource.Returns aFlowablewhich will subscribe to thisCompletableand once that is completed then will subscribe to thenextPublisher.Returns aSinglethat emitstrueif any item emitted by the currentFlowablesatisfies a specified condition, otherwisefalse.Returns aSinglethat emitstrueif any item emitted by the currentObservablesatisfies a specified condition, otherwisefalse.final voidCompletable.blockingAwait()Subscribes to and awaits the termination of thisCompletableinstance in a blocking manner and rethrows any exception emitted.final booleanCompletable.blockingAwait(long timeout, @NonNull TimeUnit unit) Subscribes to and awaits the termination of thisCompletableinstance in a blocking manner with a specific timeout and rethrows any exception emitted within the timeout window.final TFlowable.blockingFirst()Returns the first item emitted by thisFlowable, or throwsNoSuchElementExceptionif it emits no items.final TFlowable.blockingFirst(@NonNull T defaultItem) Returns the first item emitted by thisFlowable, or a default value if it emits no items.final TObservable.blockingFirst()Returns the first item emitted by the currentObservable, or throwsNoSuchElementExceptionif it emits no items.final TObservable.blockingFirst(@NonNull T defaultItem) Returns the first item emitted by the currentObservable, or a default value if it emits no items.final voidFlowable.blockingForEach(@NonNull Consumer<? super @NonNull T> onNext) Consumes the currentFlowablein a blocking fashion and invokes the givenConsumerwith each upstream item on the current thread until the upstream terminates.final voidFlowable.blockingForEach(@NonNull Consumer<? super @NonNull T> onNext, int bufferSize) Consumes the currentFlowablein a blocking fashion and invokes the givenConsumerwith each upstream item on the current thread until the upstream terminates.final voidObservable.blockingForEach(@NonNull Consumer<? super @NonNull T> onNext) Consumes the currentObservablein a blocking fashion and invokes the givenConsumerwith each upstream item on the current thread until the upstream terminates.final voidObservable.blockingForEach(@NonNull Consumer<? super @NonNull T> onNext, int capacityHint) Consumes the currentObservablein a blocking fashion and invokes the givenConsumerwith each upstream item on the current thread until the upstream terminates.final TMaybe.blockingGet()Waits in a blocking fashion until the currentMaybesignals a success value (which is returned),nullif completed or an exception (which is propagated).final TMaybe.blockingGet(@NonNull T defaultValue) Waits in a blocking fashion until the currentMaybesignals a success value (which is returned), defaultValue if completed or an exception (which is propagated).final TSingle.blockingGet()Waits in a blocking fashion until the currentSinglesignals a success value (which is returned) or an exception (which is propagated).Flowable.blockingIterable()Converts thisFlowableinto anIterable.Flowable.blockingIterable(int bufferSize) Converts thisFlowableinto anIterable.Observable.blockingIterable()Exposes the currentObservableas anIterablewhich, when iterated, subscribes to the currentObservableand blocks until the currentObservableemits items or terminates.Observable.blockingIterable(int capacityHint) Exposes the currentObservableas anIterablewhich, when iterated, subscribes to the currentObservableand blocks until the currentObservableemits items or terminates.final TFlowable.blockingLast()Returns the last item emitted by thisFlowable, or throwsNoSuchElementExceptionif thisFlowableemits no items.final TFlowable.blockingLast(@NonNull T defaultItem) Returns the last item emitted by thisFlowable, or a default value if it emits no items.final TObservable.blockingLast()Returns the last item emitted by the currentObservable, or throwsNoSuchElementExceptionif the currentObservableemits no items.final TObservable.blockingLast(@NonNull T defaultItem) Returns the last item emitted by the currentObservable, or a default value if it emits no items.Flowable.blockingLatest()Returns anIterablethat returns the latest item emitted by thisFlowable, waiting if necessary for one to become available.Observable.blockingLatest()Returns anIterablethat returns the latest item emitted by the currentObservable, waiting if necessary for one to become available.Flowable.blockingMostRecent(@NonNull T initialItem) Returns anIterablethat always returns the item most recently emitted by thisFlowable.Observable.blockingMostRecent(@NonNull T initialItem) Returns anIterablethat always returns the item most recently emitted by the currentObservable.Flowable.blockingNext()Returns anIterablethat blocks until thisFlowableemits another item, then returns that item.Observable.blockingNext()Returns anIterablethat blocks until the currentObservableemits another item, then returns that item.final TFlowable.blockingSingle()If thisFlowablecompletes after emitting a single item, return that item, otherwise throw aNoSuchElementException.final TFlowable.blockingSingle(@NonNull T defaultItem) If thisFlowablecompletes after emitting a single item, return that item; if it emits more than one item, throw anIllegalArgumentException; if it emits no items, return a default value.final TObservable.blockingSingle()If the currentObservablecompletes after emitting a single item, return that item, otherwise throw aNoSuchElementException.final TObservable.blockingSingle(@NonNull T defaultItem) If the currentObservablecompletes after emitting a single item, return that item; if it emits more than one item, throw anIllegalArgumentException; if it emits no items, return a default value.Flowable.blockingStream()Creates a sequentialStreamto consume or process thisFlowablein a blocking manner via the JavaStreamAPI.Flowable.blockingStream(int prefetch) Creates a sequentialStreamto consume or process thisFlowablein a blocking manner via the JavaStreamAPI.Observable.blockingStream()Creates a sequentialStreamto consume or process the currentObservablein a blocking manner via the JavaStreamAPI.Observable.blockingStream(int capacityHint) Creates a sequentialStreamto consume or process the currentObservablein a blocking manner via the JavaStreamAPI.final voidCompletable.blockingSubscribe()Subscribes to the currentCompletableand blocks the current thread until it terminates.final voidCompletable.blockingSubscribe(@NonNull CompletableObserver observer) Subscribes to the currentCompletableand calls the appropriateCompletableObservermethod on the current thread.final voidCompletable.blockingSubscribe(@NonNull Action onComplete) Subscribes to the currentCompletableand calls givenonCompletecallback on the current thread when it completes normally.final voidCompletable.blockingSubscribe(@NonNull Action onComplete, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentCompletableand calls the appropriate callback on the current thread when it terminates.final voidFlowable.blockingSubscribe()Runs the currentFlowableto a terminal event, ignoring any values and rethrowing any exception.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, int bufferSize) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, int bufferSize) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete, int bufferSize) Subscribes to the source and calls the given callbacks on the current thread.final voidFlowable.blockingSubscribe(@NonNull org.reactivestreams.Subscriber<? super @NonNull T> subscriber) Subscribes to the source and calls theSubscribermethods on the current thread.final voidMaybe.blockingSubscribe()Subscribes to the currentMaybeand blocks the current thread until it terminates.final voidMaybe.blockingSubscribe(@NonNull MaybeObserver<? super @NonNull T> observer) Subscribes to the currentMaybeand calls the appropriateMaybeObservermethod on the current thread.final voidMaybe.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onSuccess) Subscribes to the currentMaybeand calls givenonSuccesscallback on the current thread when it completes normally.final voidMaybe.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentMaybeand calls the appropriate callback on the current thread when it terminates.final voidMaybe.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the currentMaybeand calls the appropriate callback on the current thread when it terminates.final voidObservable.blockingSubscribe()Runs the currentObservableto a terminal event, ignoring any values and rethrowing any exception.final voidObservable.blockingSubscribe(@NonNull Observer<? super @NonNull T> observer) Subscribes to the source and calls theObservermethods on the current thread.final voidObservable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext) Subscribes to the source and calls the given callbacks on the current thread.final voidObservable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to the source and calls the given callbacks on the current thread.final voidObservable.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the source and calls the given callbacks on the current thread.final voidSingle.blockingSubscribe()Subscribes to the currentSingleand blocks the current thread until it terminates.final voidSingle.blockingSubscribe(@NonNull SingleObserver<? super @NonNull T> observer) Subscribes to the currentSingleand calls the appropriateSingleObservermethod on the current thread.final voidSingle.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onSuccess) Subscribes to the currentSingleand calls givenonSuccesscallback on the current thread when it completes normally.final voidSingle.blockingSubscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentSingleand calls the appropriate callback on the current thread when it terminates.Flowable.buffer(int count) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Flowable.buffer(int count, int skip) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Flowable.buffer(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Supplier<@NonNull U> bufferSupplier) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Flowable.buffer(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, int count, @NonNull Supplier<@NonNull U> bufferSupplier, boolean restartTimerOnMaxSize) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Flowable.buffer(@NonNull org.reactivestreams.Publisher<? extends @NonNull TOpening> openingIndicator, @NonNull Function<? super @NonNull TOpening, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull TClosing>> closingIndicator) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.final <@NonNull TOpening,@NonNull TClosing, @NonNull U extends Collection<? super @NonNull T>>
@NonNull Flowable<U> Flowable.buffer(@NonNull org.reactivestreams.Publisher<? extends @NonNull TOpening> openingIndicator, @NonNull Function<? super @NonNull TOpening, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull TClosing>> closingIndicator, @NonNull Supplier<@NonNull U> bufferSupplier) Returns aFlowablethat emits buffers of items it collects from the currentFlowable.Returns aFlowablethat emits non-overlapping buffered items from the currentFlowableeach time the specified boundaryPublisheremits an item.Flowable.buffer(@NonNull org.reactivestreams.Publisher<@NonNull B> boundaryIndicator, int initialCapacity) Returns aFlowablethat emits non-overlapping buffered items from the currentFlowableeach time the specified boundaryPublisheremits an item.Flowable.buffer(@NonNull org.reactivestreams.Publisher<@NonNull B> boundaryIndicator, @NonNull Supplier<@NonNull U> bufferSupplier) Returns aFlowablethat emits non-overlapping buffered items from the currentFlowableeach time the specified boundaryPublisheremits an item.final @NonNull Observable<@NonNull List<T>> Observable.buffer(int count) Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Observable.buffer(int count, int skip) Returns anObservablethat emits buffers of items it collects from the currentObservable.final <@NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Returns anObservablethat emits buffers of items it collects from the currentObservable.final <@NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Observable.buffer(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits buffers of items it collects from the currentObservable.final <@NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Observable.buffer(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Supplier<@NonNull U> bufferSupplier) Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Returns anObservablethat emits buffers of items it collects from the currentObservable.final @NonNull Observable<@NonNull List<T>> Returns anObservablethat emits buffers of items it collects from the currentObservable.final <@NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Observable.buffer(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, int count, @NonNull Supplier<@NonNull U> bufferSupplier, boolean restartTimerOnMaxSize) Returns anObservablethat emits buffers of items it collects from the currentObservable.Observable.buffer(@NonNull ObservableSource<? extends @NonNull TOpening> openingIndicator, @NonNull Function<? super @NonNull TOpening, ? extends ObservableSource<? extends @NonNull TClosing>> closingIndicator) Returns anObservablethat emits buffers of items it collects from the currentObservable.final <@NonNull TOpening,@NonNull TClosing, @NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Observable.buffer(@NonNull ObservableSource<? extends @NonNull TOpening> openingIndicator, @NonNull Function<? super @NonNull TOpening, ? extends ObservableSource<? extends @NonNull TClosing>> closingIndicator, @NonNull Supplier<@NonNull U> bufferSupplier) Returns anObservablethat emits buffers of items it collects from the currentObservable.Observable.buffer(@NonNull ObservableSource<@NonNull B> boundaryIndicator) Returns anObservablethat emits non-overlapping buffered items from the currentObservableeach time the specified boundaryObservableSourceemits an item.Observable.buffer(@NonNull ObservableSource<@NonNull B> boundaryIndicator, int initialCapacity) Returns anObservablethat emits non-overlapping buffered items from the currentObservableeach time the specified boundaryObservableSourceemits an item.final <@NonNull B,@NonNull U extends Collection<? super @NonNull T>>
@NonNull Observable<U> Observable.buffer(@NonNull ObservableSource<@NonNull B> boundaryIndicator, @NonNull Supplier<@NonNull U> bufferSupplier) Returns anObservablethat emits non-overlapping buffered items from the currentObservableeach time the specified boundaryObservableSourceemits an item.final @NonNull CompletableCompletable.cache()Subscribes to thisCompletableonly once, when the firstCompletableObserversubscribes to the resultCompletable, caches its terminal event and relays/replays it to observers.Flowable.cache()Returns aFlowablethat subscribes to thisPublisherlazily, caches all of its events and replays them, in the same order as received, to all the downstream subscribers.Maybe.cache()Returns aMaybethat subscribes to thisMaybelazily, caches its event and replays it, to all the downstream subscribers.final @NonNull Observable<T> Observable.cache()Returns anObservablethat subscribes to the currentObservablelazily, caches all of its events and replays them, in the same order as received, to all the downstream observers.Single.cache()Stores the success value or exception from the currentSingleand replays it to lateSingleObservers.Flowable.cacheWithInitialCapacity(int initialCapacity) Returns aFlowablethat subscribes to thisPublisherlazily, caches all of its events and replays them, in the same order as received, to all the downstream subscribers.final @NonNull Observable<T> Observable.cacheWithInitialCapacity(int initialCapacity) Returns anObservablethat subscribes to the currentObservablelazily, caches all of its events and replays them, in the same order as received, to all the downstream observers.Returns aFlowablethat emits the upstream items while they can be cast viaClass.cast(Object)until the upstream terminates, or until the upstream signals an item which can't be cast, resulting in aClassCastExceptionto be signaled to the downstream.Casts the success value of the currentMaybeinto the target type or signals aClassCastExceptionif not compatible.final <@NonNull U>
@NonNull Observable<U> Returns anObservablethat emits the upstream items while they can be cast viaClass.cast(Object)until the upstream terminates, or until the upstream signals an item which can't be cast, resulting in aClassCastExceptionto be signaled to the downstream.Casts the success value of the currentSingleinto the target type or signals aClassCastExceptionif not compatible.Flowable.collect(@NonNull Supplier<? extends @NonNull U> initialItemSupplier, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourcePublisherinto a single mutable data structure and returns aSinglethat emits this structure.Observable.collect(@NonNull Supplier<? extends @NonNull U> initialItemSupplier, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourceObservableinto a single mutable data structure and returns aSinglethat emits this structure.Flowable.collectInto(@NonNull U initialItem, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourcePublisherinto a single mutable data structure and returns aSinglethat emits this structure.Observable.collectInto(@NonNull U initialItem, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourceObservableinto a single mutable data structure and returns aSinglethat emits this structure.Flowable.combineLatest(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatest(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> combiner) Combines two sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from either of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> combiner) Combines three sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> combiner) Combines four sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Flowable<R> Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> combiner) Combines five sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Flowable<R> Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> combiner) Combines six sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Flowable<R> Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> combiner) Combines seven sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Flowable<R> Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull org.reactivestreams.Publisher<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> combiner) Combines eight sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Flowable<R> Flowable.combineLatest(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull org.reactivestreams.Publisher<? extends @NonNull T8> source8, @NonNull org.reactivestreams.Publisher<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> combiner) Combines nine sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull ObservableSource<? extends @NonNull T8> source8, @NonNull ObservableSource<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> combiner) Combines nine sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull ObservableSource<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> combiner) Combines eight sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> combiner) Combines seven sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> combiner) Combines six sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> combiner) Combines five sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> combiner) Combines four sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> combiner) Combines three sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T1,@NonNull T2, @NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> combiner) Combines two sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from either of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines a collection of sourceObservableSources by emitting an item that aggregates the latest values of each of the returnedObservableSources each time an item is received from any of the returnedObservableSources, where this aggregation is defined by a specified function.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatest(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines anIterableof sourceObservableSources by emitting an item that aggregates the latest values of each of the returnedObservableSources each time an item is received from any of the returnedObservableSources, where this aggregation is defined by a specified function.Flowable.combineLatestArray(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatestArray(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestArray(@NonNull ObservableSource<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines an array of sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of the returnedObservableSources, where this aggregation is defined by a specified function.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestArray(@NonNull ObservableSource<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines an array of sourceObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.Flowable.combineLatestArrayDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function.Flowable.combineLatestArrayDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function and delays any error from the sources until all sourcePublishers terminate.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestArrayDelayError(@NonNull ObservableSource<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines an array ofObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestArrayDelayError(@NonNull ObservableSource<? extends @NonNull T>[] sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines an array ofObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function and delays any error from the sources until all sourceObservableSources terminate.Flowable.combineLatestDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function and delays any error from the sources until all sourcePublishers terminate.Flowable.combineLatestDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines a collection of sourcePublishers by emitting an item that aggregates the latest values of each of the sourcePublishers each time an item is received from any of the sourcePublishers, where this aggregation is defined by a specified function and delays any error from the sources until all sourcePublishers terminate.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner) Combines anIterableofObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function and delays any error from the sources until all sourceObservableSources terminate.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.combineLatestDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> combiner, int bufferSize) Combines anIterableofObservableSources by emitting an item that aggregates the latest values of each of theObservableSources each time an item is received from any of theObservableSources, where this aggregation is defined by a specified function and delays any error from the sources until all sourceObservableSources terminate.static @NonNull CompletableCompletable.complete()Returns aCompletableinstance that completes immediately when subscribed to.final @NonNull CompletableCompletable.compose(@NonNull CompletableTransformer transformer) Calls the given transformer function with this instance and returns the function's resultingCompletableSourcewrapped withCompletable.wrap(CompletableSource).Transform the currentFlowableby applying a particularFlowableTransformerfunction to it.Transform aMaybeby applying a particularMaybeTransformerfunction to it.final <@NonNull R>
@NonNull Observable<R> Observable.compose(@NonNull ObservableTransformer<? super @NonNull T, ? extends @NonNull R> composer) Transform the currentObservableby applying a particularObservableTransformerfunction to it.Transform aSingleby applying a particularSingleTransformerfunction to it.static @NonNull CompletableCompletable.concat(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int prefetch) Returns aCompletablewhich completes only when all sources complete, one after another.Flowable.concat(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates elements of eachPublisherprovided via anIterablesequence into a single sequence of elements without interleaving them.Flowable.concat(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2) Returns aFlowablethat emits the items emitted by twoPublishers, one after the other, without interleaving them.Flowable.concat(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3) Returns aFlowablethat emits the items emitted by threePublishers, one after the other, without interleaving them.Flowable.concat(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source4) Returns aFlowablethat emits the items emitted by fourPublishers, one after the other, without interleaving them.Flowable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Returns aFlowablethat emits the items emitted by each of thePublishers emitted by the sourcePublisher, one after the other, without interleaving them.Flowable.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int prefetch) Returns aFlowablethat emits the items emitted by each of thePublishers emitted by the sourcePublisher, one after the other, without interleaving them.Maybe.concat(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2) Returns aFlowablethat emits the items emitted by twoMaybeSources, one after the other.Maybe.concat(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3) Returns aFlowablethat emits the items emitted by threeMaybeSources, one after the other.Maybe.concat(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3, @NonNull MaybeSource<? extends @NonNull T> source4) Returns aFlowablethat emits the items emitted by fourMaybeSources, one after the other.Concatenate the single values, in a non-overlapping fashion, of theMaybeSourcesources provided by anIterablesequence as aFlowablesequence.Maybe.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenate the single values, in a non-overlapping fashion, of theMaybeSourcesources provided by aPublishersequence as aFlowablesequence.Maybe.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int prefetch) Concatenate the single values, in a non-overlapping fashion, of theMaybeSourcesources provided by aPublishersequence as aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Returns anObservablethat emits the items emitted by each of theObservableSources emitted by theObservableSource, one after the other, without interleaving them.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int bufferSize) Returns anObservablethat emits the items emitted by each of theObservableSources emitted by the outerObservableSource, one after the other, without interleaving them.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3) Returns anObservablethat emits the items emitted by threeObservableSources, one after the other, without interleaving them.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3, @NonNull ObservableSource<? extends @NonNull T> source4) Returns anObservablethat emits the items emitted by fourObservableSources, one after the other, without interleaving them.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull ObservableSource<? extends @NonNull T> source1, ObservableSource<? extends @NonNull T> source2) Returns anObservablethat emits the items emitted by twoObservableSources, one after the other, without interleaving them.static <@NonNull T>
@NonNull Observable<T> Observable.concat(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Concatenates elements of eachObservableSourceprovided via anIterablesequence into a single sequence of elements without interleaving them.static <@NonNull T>
@NonNull Observable<T> Single.concat(@NonNull ObservableSource<? extends SingleSource<? extends @NonNull T>> sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by anObservableSourcesequence.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Returns aFlowablethat emits the items emitted by twoSingleSources, one after the other.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Returns aFlowablethat emits the items emitted by threeSingleSources, one after the other.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Returns aFlowablethat emits the items emitted by fourSingleSources, one after the other.Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by anIterablesequence.Single.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by aPublishersequence.Single.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int prefetch) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by aPublishersequence and prefetched by the specified amount.static @NonNull CompletableCompletable.concatArray(@NonNull CompletableSource... sources) Returns aCompletablewhich completes only when all sources complete, one after another.Flowable.concatArray(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates a variable number ofPublishersources.Maybe.concatArray(@NonNull MaybeSource<? extends @NonNull T>... sources) Concatenate the single values, in a non-overlapping fashion, of theMaybeSourcesources in the array as aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concatArray(@NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates a variable number ofObservableSourcesources.Single.concatArray(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided in an array.static @NonNull CompletableCompletable.concatArrayDelayError(@NonNull CompletableSource... sources) Returns aCompletablewhich completes only when all sources complete, one after another.Flowable.concatArrayDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates a variable number ofPublishersources and delays errors from any of them till all terminate.Maybe.concatArrayDelayError(@NonNull MaybeSource<? extends @NonNull T>... sources) Concatenates a variable number ofMaybeSourcesources and delays errors from any of them till all terminate as aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concatArrayDelayError(@NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates a variable number ofObservableSourcesources and delays errors from any of them till all terminate.Single.concatArrayDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided in an array.Flowable.concatArrayEager(int maxConcurrency, int prefetch, @NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates an array ofPublishers eagerly into a single stream of values.Flowable.concatArrayEager(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates an array ofPublishers eagerly into a single stream of values.Maybe.concatArrayEager(@NonNull MaybeSource<? extends @NonNull T>... sources) Concatenates a sequence ofMaybeSourceeagerly into aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concatArrayEager(int maxConcurrency, int bufferSize, @NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates an array ofObservableSources eagerly into a single stream of values.static <@NonNull T>
@NonNull Observable<T> Observable.concatArrayEager(@NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates an array ofObservableSources eagerly into a single stream of values.Single.concatArrayEager(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenates a sequence ofSingleSourceeagerly into a single stream of values.Flowable.concatArrayEagerDelayError(int maxConcurrency, int prefetch, @NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates an array ofPublishers eagerly into a single stream of values and delaying any errors until all sources terminate.Flowable.concatArrayEagerDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Concatenates an array ofPublishers eagerly into a single stream of values and delaying any errors until all sources terminate.Maybe.concatArrayEagerDelayError(@NonNull MaybeSource<? extends @NonNull T>... sources) Concatenates a sequence ofMaybeSourceeagerly into aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concatArrayEagerDelayError(int maxConcurrency, int bufferSize, @NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates an array ofObservableSources eagerly into a single stream of values and delaying any errors until all sources terminate.static <@NonNull T>
@NonNull Observable<T> Observable.concatArrayEagerDelayError(@NonNull ObservableSource<? extends @NonNull T>... sources) Concatenates an array ofObservableSources eagerly into a single stream of values and delaying any errors until all sources terminate.Single.concatArrayEagerDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenates a sequence ofSingleSourceeagerly into a single stream of values.static @NonNull CompletableCompletable.concatDelayError(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablewhich completes only when all sources complete, one after another.static @NonNull CompletableCompletable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int prefetch) Returns aCompletablewhich completes only when all sources complete, one after another.Flowable.concatDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates theIterablesequence ofPublishers into a single sequence by subscribing to eachPublisher, one after the other, one at a time and delays any errors till the all innerPublishers terminate.Flowable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates thePublishersequence ofPublishers into a single sequence by subscribing to each innerPublisher, one after the other, one at a time and delays any errors till the all inner and the outerPublishers terminate.Flowable.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int prefetch, boolean tillTheEnd) Concatenates thePublishersequence ofPublishers into a single sequence by subscribing to each innerPublisher, one after the other, one at a time and delays any errors till the all inner and the outerPublishers terminate.Maybe.concatDelayError(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenates theIterablesequence ofMaybeSources into a single sequence by subscribing to eachMaybeSource, one after the other, one at a time and delays any errors till the all innerMaybeSources terminate as aFlowablesequence.Maybe.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenates thePublishersequence ofMaybeSources into a single sequence by subscribing to each innerMaybeSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.Maybe.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int prefetch) Concatenates thePublishersequence ofMaybeSources into a single sequence by subscribing to each innerMaybeSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.concatDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Concatenates theObservableSourcesequence ofObservableSources into a singleObservablesequence by subscribing to each innerObservableSource, one after the other, one at a time and delays any errors till the all inner and the outerObservableSources terminate.static <@NonNull T>
@NonNull Observable<T> Observable.concatDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int bufferSize, boolean tillTheEnd) Concatenates theObservableSourcesequence ofObservableSources into a single sequence by subscribing to each innerObservableSource, one after the other, one at a time and delays any errors till the all inner and the outerObservableSources terminate.static <@NonNull T>
@NonNull Observable<T> Observable.concatDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Concatenates theIterablesequence ofObservableSources into a singleObservablesequence by subscribing to eachObservableSource, one after the other, one at a time and delays any errors till the all innerObservableSources terminate.Single.concatDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates theIterablesequence ofSingleSources into a single sequence by subscribing to eachSingleSource, one after the other, one at a time and delays any errors till the all innerSingleSources terminate as aFlowablesequence.Single.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates thePublishersequence ofSingleSources into a single sequence by subscribing to each innerSingleSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.Single.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int prefetch) Concatenates thePublishersequence ofSingleSources into a single sequence by subscribing to each innerSingleSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.Flowable.concatEager(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates a sequence ofPublishers eagerly into a single stream of values.Flowable.concatEager(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int prefetch) Concatenates a sequence ofPublishers eagerly into a single stream of values and runs a limited number of inner sequences at once.Flowable.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates aPublishersequence ofPublishers eagerly into a single stream of values.Flowable.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int prefetch) Concatenates aPublishersequence ofPublishers eagerly into a single stream of values and runs a limited number of inner sequences at once.Maybe.concatEager(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenates a sequence ofMaybeSources eagerly into aFlowablesequence.Maybe.concatEager(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates a sequence ofMaybeSources eagerly into aFlowablesequence and runs a limited number of the inner sequences at once.Maybe.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Maybe.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofMaybeSources eagerly into aFlowablesequence, running at most the given number of innerMaybeSources at once.static <@NonNull T>
@NonNull Observable<T> Observable.concatEager(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Concatenates anObservableSourcesequence ofObservableSources eagerly into a single stream of values.static <@NonNull T>
@NonNull Observable<T> Observable.concatEager(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Concatenates anObservableSourcesequence ofObservableSources eagerly into a single stream of values and runs a limited number of inner sequences at once.static <@NonNull T>
@NonNull Observable<T> Observable.concatEager(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Concatenates a sequence ofObservableSources eagerly into a single stream of values.static <@NonNull T>
@NonNull Observable<T> Observable.concatEager(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Concatenates a sequence ofObservableSources eagerly into a single stream of values and runs a limited number of inner sequences at once.Single.concatEager(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values.Single.concatEager(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values and runs a limited number of the inner sources at once.Single.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values.Single.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values and runs a limited number of those innerSingleSources at once.Flowable.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates a sequence ofPublishers eagerly into a single stream of values, delaying errors until all the inner sequences terminate.Flowable.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int prefetch) Concatenates a sequence ofPublishers eagerly into a single stream of values, delaying errors until all the inner sequences terminate and runs a limited number of inner sequences at once.Flowable.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Concatenates aPublishersequence ofPublishers eagerly into a single stream of values, delaying errors until all the inner and the outer sequences terminate.Flowable.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int prefetch) Concatenates aPublishersequence ofPublishers eagerly into a single stream of values, delaying errors until all the inner and outer sequences terminate and runs a limited number of inner sequences at once.Maybe.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenates a sequence ofMaybeSources eagerly into aFlowablesequence, delaying errors until all innerMaybeSources terminate.Maybe.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates a sequence ofMaybeSources eagerly into aFlowablesequence, delaying errors until all innerMaybeSources terminate and runs a limited number of innerMaybeSources at once.Maybe.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Concatenates aPublishersequence ofMaybeSources eagerly into aFlowablesequence, delaying errors until all the inner and the outer sequence terminate.Maybe.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofMaybeSources eagerly into aFlowablesequence, delaying errors until all the inner and the outer sequence terminate and runs a limited number of the innerMaybeSources at once.static <@NonNull T>
@NonNull Observable<T> Observable.concatEagerDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Concatenates anObservableSourcesequence ofObservableSources eagerly into a single stream of values, delaying errors until all the inner and the outer sequence terminate.static <@NonNull T>
@NonNull Observable<T> Observable.concatEagerDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Concatenates anObservableSourcesequence ofObservableSources eagerly into a single stream of values, delaying errors until all the inner and the outer sequence terminate and runs a limited number of inner sequences at once.static <@NonNull T>
@NonNull Observable<T> Observable.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Concatenates a sequence ofObservableSources eagerly into a single stream of values, delaying errors until all the inner sequences terminate.static <@NonNull T>
@NonNull Observable<T> Observable.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Concatenates a sequence ofObservableSources eagerly into a single stream of values, delaying errors until all the inner sequences terminate and runs a limited number of inner sequences at once.Single.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner sources terminate.Single.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner sources terminate.Single.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner and the outer sequence terminate.Single.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values, running at most the specified number of those innerSingleSources at once and delaying errors until all the inner and the outer sequence terminate.Flowable.concatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns a newFlowablethat emits items resulting from applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then emitting the items that result from concatenating those returnedPublishers.Flowable.concatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int prefetch) Returns a newFlowablethat emits items resulting from applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then emitting the items that result from concatenating those returnedPublishers.Flowable.concatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int prefetch, @NonNull Scheduler scheduler) Returns a newFlowablethat emits items resulting from applying a function (on a designated scheduler) that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then emitting the items that result from concatenating those returnedPublishers.Maybe.concatMap(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Returns aMaybethat is based on applying a specified function to the item emitted by the currentMaybe, where that function returns aMaybeSource.final <@NonNull R>
@NonNull Observable<R> Observable.concatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns a newObservablethat emits items resulting from applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then emitting the items that result from concatenating those returnedObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.concatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int bufferSize) Returns a newObservablethat emits items resulting from applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then emitting the items that result from concatenating those returnedObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.concatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int bufferSize, @NonNull Scheduler scheduler) Returns a newObservablethat emits items resulting from applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then emitting the items that result from concatenating those returnedObservableSources.Single.concatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aSinglethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aSingleSource.final @NonNull CompletableFlowable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other completes.final @NonNull CompletableFlowable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, int prefetch) Maps the upstream items intoCompletableSources and subscribes to them one after the other completes.final @NonNull CompletableMaybe.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentMaybe, where that function returns aCompletable.final @NonNull CompletableObservable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the currentObservableintoCompletableSources, subscribes to them one at a time in order and waits until the upstream and allCompletableSources complete.final @NonNull CompletableObservable.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, int capacityHint) Maps each element of the currentObservableintoCompletableSources, subscribes to them one at a time in order and waits until the upstream and allCompletableSources complete.final @NonNull CompletableSingle.concatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentSingle, where that function returns aCompletableSource.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableFlowable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd, int prefetch) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both thisFlowableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, delaying all errors till both the currentObservableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both the currentObservableand all innerCompletableSources terminate.final @NonNull CompletableObservable.concatMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean tillTheEnd, int bufferSize) Maps the upstream items intoCompletableSources and subscribes to them one after the other terminates, optionally delaying all errors till both the currentObservableand all innerCompletableSources terminate.Flowable.concatMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Maps each of the items into aPublisher, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the innerPublishers till all of them terminate.Flowable.concatMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean tillTheEnd, int prefetch) Maps each of the items into aPublisher, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the innerPublishers till all of them terminate.Flowable.concatMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean tillTheEnd, int prefetch, @NonNull Scheduler scheduler) Maps each of the upstream items into aPublisher, subscribes to them one after the other, one at a time and emits their values in order while executing the mapper function on the designated scheduler, delaying any error from either this or any of the innerPublishers till all of them terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Maps each of the items into anObservableSource, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the innerObservableSources till all of them terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int bufferSize) Maps each of the items into anObservableSource, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the innerObservableSources till all of them terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int bufferSize, @NonNull Scheduler scheduler) Maps each of the items into anObservableSource, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the innerObservableSources till all of them terminate.Flowable.concatMapEager(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Maps a sequence of values intoPublishers and concatenates thesePublishers eagerly into a singlePublisher.Flowable.concatMapEager(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int maxConcurrency, int prefetch) Maps a sequence of values intoPublishers and concatenates thesePublishers eagerly into a singlePublisher.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapEager(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Maps a sequence of values intoObservableSources and concatenates theseObservableSources eagerly into a singleObservablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapEager(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int maxConcurrency, int bufferSize) Maps a sequence of values intoObservableSources and concatenates theseObservableSources eagerly into a singleObservablesequence.Flowable.concatMapEagerDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps a sequence of values intoPublishers and concatenates thesePublishers eagerly into a singlePublisher.Flowable.concatMapEagerDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean tillTheEnd, int maxConcurrency, int prefetch) Maps a sequence of values intoPublishers and concatenates thesePublishers eagerly into a singleFlowablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapEagerDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps a sequence of values intoObservableSources and concatenates theseObservableSources eagerly into a singleObservablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapEagerDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int maxConcurrency, int bufferSize) Maps a sequence of values intoObservableSources and concatenates theseObservableSources eagerly into a singleObservablesequence.Flowable.concatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Returns aFlowablethat concatenate each item emitted by the currentFlowablewith the values in anIterablecorresponding to that item that is generated by a selector.Flowable.concatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, int prefetch) Returns aFlowablethat concatenate each item emitted by the currentFlowablewith the values in anIterablecorresponding to that item that is generated by a selector.final <@NonNull U>
@NonNull Observable<U> Observable.concatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Returns anObservablethat concatenate each item emitted by the currentObservablewith the values in anIterablecorresponding to that item that is generated by a selector.Flowable.concatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and subscribes to them one after the other succeeds or completes, emits their success value if available or terminates immediately if either thisFlowableor the current innerMaybeSourcefail.Flowable.concatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, int prefetch) Maps the upstream items intoMaybeSources and subscribes to them one after the other succeeds or completes, emits their success value if available or terminates immediately if either thisFlowableor the current innerMaybeSourcefail.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and subscribes to them one after the other succeeds or completes, emits their success value if available or terminates immediately if either the currentObservableor the current innerMaybeSourcefail.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, int bufferSize) Maps the upstream items intoMaybeSources and subscribes to them one after the other succeeds or completes, emits their success value if available or terminates immediately if either the currentObservableor the current innerMaybeSourcefail.Single.concatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Returns aMaybethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aMaybeSource.Flowable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and delaying all errors till both thisFlowableand all innerMaybeSources terminate.Flowable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and optionally delaying all errors till both thisFlowableand all innerMaybeSources terminate.Flowable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int prefetch) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and optionally delaying all errors till both thisFlowableand all innerMaybeSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and delaying all errors till both the currentObservableand all innerMaybeSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and optionally delaying all errors till both the currentObservableand all innerMaybeSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int bufferSize) Maps the upstream items intoMaybeSources and subscribes to them one after the other terminates, emits their success value if available and optionally delaying all errors till both the currentObservableand all innerMaybeSources terminate.Flowable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either thisFlowableor the current innerSingleSourcefail.Flowable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, int prefetch) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either thisFlowableor the current innerSingleSourcefail.Maybe.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aMaybebased on applying a specified function to the item emitted by the currentMaybe, where that function returns aSingle.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either the currentObservableor the current innerSingleSourcefail.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, int bufferSize) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either the currentObservableor the current innerSingleSourcefail.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and delays all errors till both thisFlowableand all innerSingleSources terminate.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays all errors till both thisFlowableand all innerSingleSources terminate.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int prefetch) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays errors till both thisFlowableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and delays all errors till both the currentObservableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays all errors till both the currentObservableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int bufferSize) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays errors till both the currentObservableand all innerSingleSources terminate.Flowable.concatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.Flowable.concatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper, int prefetch) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.final @NonNull CompletableCompletable.concatWith(@NonNull CompletableSource other) Concatenates thisCompletablewith anotherCompletableSource.Flowable.concatWith(@NonNull CompletableSource other) Returns aFlowablethat emits items from thisFlowableand when it completes normally, the otherCompletableSourceis subscribed to and the returnedFlowableemits its terminal events.Flowable.concatWith(@NonNull MaybeSource<? extends @NonNull T> other) Returns aFlowablethat emits the items from thisFlowablefollowed by the success item or terminal events of the otherMaybeSource.Flowable.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns aFlowablethat emits the items from thisFlowablefollowed by the success item or error event of the otherSingleSource.Flowable.concatWith(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> other) Returns aFlowablethat emits the items emitted from the currentFlowable, then the next, one after the other, without interleaving them.Maybe.concatWith(@NonNull MaybeSource<? extends @NonNull T> other) Returns aFlowablethat emits the items emitted from the currentMaybe, then theotherMaybeSource, one after the other, without interleaving them.final @NonNull Observable<T> Observable.concatWith(@NonNull CompletableSource other) Returns anObservablethat emits items from the currentObservableand when it completes normally, the otherCompletableSourceis subscribed to and the returnedObservableemits its terminal events.final @NonNull Observable<T> Observable.concatWith(@NonNull MaybeSource<? extends @NonNull T> other) Returns anObservablethat emits the items from the currentObservablefollowed by the success item or terminal events of the otherMaybeSource.final @NonNull Observable<T> Observable.concatWith(@NonNull ObservableSource<? extends @NonNull T> other) Returns anObservablethat first emits the items emitted from the currentObservable, then items from theotherObservableSourcewithout interleaving them.final @NonNull Observable<T> Observable.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns anObservablethat emits the items from the currentObservablefollowed by the success item or error event of theotherSingleSource.Single.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns aFlowablethat emits the item emitted by the currentSingle, then the item emitted by the specifiedSingleSource.Signalstrueif the currentSinglesignals a success value that isObject.equals(Object)with the value provided.Signalstrueif the currentSinglesignals a success value that is equal with the value provided by calling aBiPredicate.Flowable.count()Maybe.count()Observable.count()static @NonNull CompletableCompletable.create(@NonNull CompletableOnSubscribe source) Provides an API (via a coldCompletable) that bridges the reactive world with the callback-style world.Flowable.create(@NonNull FlowableOnSubscribe<@NonNull T> source, @NonNull BackpressureStrategy mode) Provides an API (via a coldFlowable) that bridges the reactive world with the callback-style, generally non-backpressured world.Maybe.create(@NonNull MaybeOnSubscribe<@NonNull T> onSubscribe) Provides an API (via a coldMaybe) that bridges the reactive world with the callback-style world.static <@NonNull T>
@NonNull Observable<T> Observable.create(@NonNull ObservableOnSubscribe<@NonNull T> source) Provides an API (via a coldObservable) that bridges the reactive world with the callback-style world.Single.create(@NonNull SingleOnSubscribe<@NonNull T> source) Provides an API (via a coldSingle) that bridges the reactive world with the callback-style world.Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires.Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires on a specifiedScheduler.Flowable.debounce(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires on a specifiedScheduler.Flowable.debounce(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull U>> debounceIndicator) Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by another item within a computed debounce duration.final @NonNull Observable<T> Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires.final @NonNull Observable<T> Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires on a specifiedScheduler.final @NonNull Observable<T> Observable.debounce(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires on a specifiedScheduler.final <@NonNull U>
@NonNull Observable<T> Observable.debounce(@NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull U>> debounceIndicator) Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by another item within a computed debounce duration denoted by an item emission or completion from a generated innerObservableSourcefor that original item.Flowable.defaultIfEmpty(@NonNull T defaultItem) Returns aFlowablethat emits the items emitted by the currentFlowableor a specified default item if the currentFlowableis empty.Maybe.defaultIfEmpty(@NonNull T defaultItem) Returns aSinglethat emits the item emitted by the currentMaybeor a specified default item if the currentMaybeis empty.final @NonNull Observable<T> Observable.defaultIfEmpty(@NonNull T defaultItem) Returns anObservablethat emits the items emitted by the currentObservableor a specified default item if the currentObservableis empty.static @NonNull CompletableCompletable.defer(@NonNull Supplier<? extends @NonNull CompletableSource> supplier) Defers the subscription to aCompletableinstance returned by a supplier.Flowable.defer(@NonNull Supplier<? extends @NonNull org.reactivestreams.Publisher<? extends @NonNull T>> supplier) Returns aFlowablethat calls aPublisherfactory to create aPublisherfor each newSubscriberthat subscribes.Calls aSupplierfor each individualMaybeObserverto return the actualMaybeSourcesource to be subscribed to.static <@NonNull T>
@NonNull Observable<T> Observable.defer(@NonNull Supplier<? extends @NonNull ObservableSource<? extends @NonNull T>> supplier) Returns anObservablethat calls anObservableSourcefactory to create anObservableSourcefor each newObserverthat subscribes.Calls aSupplierfor each individualSingleObserverto return the actualSingleSourceto be subscribed to.final @NonNull CompletableReturns aCompletablewhich delays the emission of the completion event by the given time.final @NonNull CompletableReturns aCompletablewhich delays the emission of the completion event by the given time while running on the specifiedScheduler.final @NonNull CompletableCompletable.delay(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns aCompletablewhich delays the emission of the completion event, and optionally the error as well, by the given time while running on the specifiedScheduler.Returns aFlowablethat emits the items emitted by the currentFlowableshifted forward in time by a specified delay.Returns aFlowablethat emits the items emitted by the currentFlowableshifted forward in time by a specified delay.Returns aFlowablethat emits the items emitted by the currentFlowableshifted forward in time by a specified delay.Returns aFlowablethat emits the items emitted by the currentFlowableshifted forward in time by a specified delay.Flowable.delay(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull U>> itemDelayIndicator) Returns aFlowablethat delays the emissions of the currentFlowablevia anotherPublisheron a per-item basis.Flowable.delay(@NonNull org.reactivestreams.Publisher<@NonNull U> subscriptionIndicator, @NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> itemDelayIndicator) Returns aFlowablethat delays the subscription to and emissions from the currentFlowablevia anotherPublisheron a per-item basis.Returns aMaybethat signals the events emitted by the currentMaybeshifted forward in time by a specified delay.Returns aMaybethat signals the events emitted by the currentMaybeshifted forward in time by a specified delay.Returns aMaybethat signals the events emitted by the currentMaybeshifted forward in time by a specified delay.Returns aMaybethat signals the events emitted by the currentMaybeshifted forward in time by a specified delay running on the specifiedScheduler.Delays the emission of thisMaybeuntil the givenPublishersignals an item or completes.final @NonNull Observable<T> Returns anObservablethat emits the items emitted by the currentObservableshifted forward in time by a specified delay.final @NonNull Observable<T> Returns anObservablethat emits the items emitted by the currentObservableshifted forward in time by a specified delay.final @NonNull Observable<T> Returns anObservablethat emits the items emitted by the currentObservableshifted forward in time by a specified delay.final @NonNull Observable<T> Observable.delay(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns anObservablethat emits the items emitted by the currentObservableshifted forward in time by a specified delay.final <@NonNull U,@NonNull V>
@NonNull Observable<T> Observable.delay(@NonNull ObservableSource<@NonNull U> subscriptionIndicator, @NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull V>> itemDelayIndicator) Returns anObservablethat delays the subscription to and emissions from the currentObservableviaObservableSources for the subscription itself and on a per-item basis.final <@NonNull U>
@NonNull Observable<T> Observable.delay(@NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull U>> itemDelayIndicator) Returns anObservablethat delays the emissions of the currentObservablevia a per-item derivedObservableSource's item emission or termination, on a per source item basis.Delays the emission of the success signal from the currentSingleby the specified amount.Delays the emission of the success or error signal from the currentSingleby the specified amount.Delays the emission of the success signal from the currentSingleby the specified amount.Delays the emission of the success or error signal from the currentSingleby the specified amount.final @NonNull CompletableCompletable.delaySubscription(long time, @NonNull TimeUnit unit) Returns aCompletablethat delays the subscription to the upstream by a given amount of time.final @NonNull CompletableCompletable.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aCompletablethat delays the subscription to the upstream by a given amount of time, both waiting and subscribing on a givenScheduler.Flowable.delaySubscription(long time, @NonNull TimeUnit unit) Returns aFlowablethat delays the subscription to the currentFlowableby a given amount of time.Flowable.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat delays the subscription to the currentFlowableby a given amount of time, both waiting and subscribing on a givenScheduler.Flowable.delaySubscription(@NonNull org.reactivestreams.Publisher<@NonNull U> subscriptionIndicator) Returns aFlowablethat delays the subscription to thisPublisheruntil the otherPublisheremits an element or completes normally.Maybe.delaySubscription(long time, @NonNull TimeUnit unit) Returns aMaybethat delays the subscription to the currentMaybeby a given amount of time.Maybe.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aMaybethat delays the subscription to the currentMaybeby a given amount of time, both waiting and subscribing on a givenScheduler.Maybe.delaySubscription(@NonNull org.reactivestreams.Publisher<@NonNull U> subscriptionIndicator) Returns aMaybethat delays the subscription to thisMaybeuntil the otherPublisheremits an element or completes normally.final @NonNull Observable<T> Observable.delaySubscription(long time, @NonNull TimeUnit unit) Returns anObservablethat delays the subscription to the currentObservableby a given amount of time.final @NonNull Observable<T> Observable.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat delays the subscription to the currentObservableby a given amount of time, both waiting and subscribing on a givenScheduler.final <@NonNull U>
@NonNull Observable<T> Observable.delaySubscription(@NonNull ObservableSource<@NonNull U> subscriptionIndicator) Returns anObservablethat delays the subscription to the currentObservableuntil the otherObservableSourceemits an element or completes normally.Single.delaySubscription(long time, @NonNull TimeUnit unit) Delays the actual subscription to the currentSingleuntil the given time delay elapsed.Single.delaySubscription(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Delays the actual subscription to the currentSingleuntil the given time delay elapsed.Single.delaySubscription(@NonNull CompletableSource subscriptionIndicator) Delays the actual subscription to the currentSingleuntil the given otherCompletableSourcecompletes.Single.delaySubscription(@NonNull ObservableSource<@NonNull U> subscriptionIndicator) Delays the actual subscription to the currentSingleuntil the given otherObservableSourcesignals its first value or completes.Single.delaySubscription(@NonNull SingleSource<@NonNull U> subscriptionIndicator) Delays the actual subscription to the currentSingleuntil the given otherSingleSourcesignals success.Single.delaySubscription(@NonNull org.reactivestreams.Publisher<@NonNull U> subscriptionIndicator) Delays the actual subscription to the currentSingleuntil the given otherPublishersignals its first value or completes.Flowable.dematerialize(@NonNull Function<@NonNull ? super @NonNull T, @NonNull Notification<@NonNull R>> selector) Returns aFlowablethat reverses the effect ofmaterializeby transforming theNotificationobjects extracted from the source items via a selector function into their respectiveSubscribersignal types.Maybe.dematerialize(@NonNull Function<? super @NonNull T, @NonNull Notification<@NonNull R>> selector) Maps theNotificationsuccess value of the currentMaybeback into normalonSuccess,onErrororonCompletesignals.final <@NonNull R>
@NonNull Observable<R> Observable.dematerialize(@NonNull Function<? super @NonNull T, Notification<@NonNull R>> selector) Returns anObservablethat reverses the effect ofmaterializeby transforming theNotificationobjects extracted from the source items via a selector function into their respectiveObserversignal types.Single.dematerialize(@NonNull Function<? super @NonNull T, @NonNull Notification<@NonNull R>> selector) Maps theNotificationsuccess value of the currentSingleback into normalonSuccess,onErrororonCompletesignals as aMaybesource.Flowable.distinct()Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct based onObject.equals(Object)comparison.Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct according to a key selector function and based onObject.equals(Object)comparison of the objects returned by the key selector function.Flowable.distinct(@NonNull Function<? super @NonNull T, @NonNull K> keySelector, @NonNull Supplier<? extends Collection<? super @NonNull K>> collectionSupplier) Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct according to a key selector function and based onObject.equals(Object)comparison of the objects returned by the key selector function.final @NonNull Observable<T> Observable.distinct()Returns anObservablethat emits all items emitted by the currentObservablethat are distinct based onObject.equals(Object)comparison.final <@NonNull K>
@NonNull Observable<T> Returns anObservablethat emits all items emitted by the currentObservablethat are distinct according to a key selector function and based onObject.equals(Object)comparison of the objects returned by the key selector function.final <@NonNull K>
@NonNull Observable<T> Observable.distinct(@NonNull Function<? super @NonNull T, @NonNull K> keySelector, @NonNull Supplier<? extends Collection<? super @NonNull K>> collectionSupplier) Returns anObservablethat emits all items emitted by the currentObservablethat are distinct according to a key selector function and based onObject.equals(Object)comparison of the objects returned by the key selector function.Flowable.distinctUntilChanged()Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct from their immediate predecessors based onObject.equals(Object)comparison.Flowable.distinctUntilChanged(@NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> comparer) Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct from their immediate predecessors when compared with each other via the provided comparator function.Returns aFlowablethat emits all items emitted by the currentFlowablethat are distinct from their immediate predecessors, according to a key selector function and based onObject.equals(Object)comparison of those objects returned by the key selector function.final @NonNull Observable<T> Observable.distinctUntilChanged()Returns anObservablethat emits all items emitted by the currentObservablethat are distinct from their immediate predecessors based onObject.equals(Object)comparison.final @NonNull Observable<T> Observable.distinctUntilChanged(@NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> comparer) Returns anObservablethat emits all items emitted by the currentObservablethat are distinct from their immediate predecessors when compared with each other via the provided comparator function.final <@NonNull K>
@NonNull Observable<T> Returns anObservablethat emits all items emitted by the currentObservablethat are distinct from their immediate predecessors, according to a key selector function and based onObject.equals(Object)comparison of those objects returned by the key selector function.Flowable.doAfterNext(@NonNull Consumer<? super @NonNull T> onAfterNext) Calls the specified consumer with the current item after this item has been emitted to the downstream.final @NonNull Observable<T> Observable.doAfterNext(@NonNull Consumer<? super @NonNull T> onAfterNext) Calls the specifiedConsumerwith the current item after this item has been emitted to the downstream.Maybe.doAfterSuccess(@NonNull Consumer<? super @NonNull T> onAfterSuccess) Calls the specifiedConsumerwith the success item after this item has been emitted to the downstream.Single.doAfterSuccess(@NonNull Consumer<? super @NonNull T> onAfterSuccess) Calls the specified consumer with the success item after this item has been emitted to the downstream.final @NonNull CompletableCompletable.doAfterTerminate(@NonNull Action onAfterTerminate) Returns aCompletableinstance that calls the givenonAfterTerminateActionafter thisCompletablecompletes normally or with an exception.Flowable.doAfterTerminate(@NonNull Action onAfterTerminate) Maybe.doAfterTerminate(@NonNull Action onAfterTerminate) final @NonNull Observable<T> Observable.doAfterTerminate(@NonNull Action onAfterTerminate) Single.doAfterTerminate(@NonNull Action onAfterTerminate) final @NonNull CompletableCalls the specifiedActionafter thisCompletablesignalsonErrororonCompleteor gets disposed by the downstream.Calls the specified action after thisFlowablesignalsonErrororonCompleteor gets canceled by the downstream.Calls the specified action after thisMaybesignalsonSuccess,onErrororonCompleteor gets disposed by the downstream.final @NonNull Observable<T> Calls the specified action after the currentObservablesignalsonErrororonCompletedor gets disposed by the downstream.Calls the specified action after thisSinglesignalsonSuccessoronErroror gets disposed by the downstream.Flowable.doOnCancel(@NonNull Action onCancel) Calls the cancelActionif the downstream cancels the sequence.final @NonNull CompletableCompletable.doOnComplete(@NonNull Action onComplete) Flowable.doOnComplete(@NonNull Action onComplete) Maybe.doOnComplete(@NonNull Action onComplete) final @NonNull Observable<T> Observable.doOnComplete(@NonNull Action onComplete) final @NonNull CompletableCompletable.doOnDispose(@NonNull Action onDispose) Calls the sharedActionif aCompletableObserversubscribed to the currentCompletabledisposes the commonDisposableit received viaonSubscribe.Maybe.doOnDispose(@NonNull Action onDispose) Calls the sharedActionif aMaybeObserversubscribed to the currentMaybedisposes the commonDisposableit received viaonSubscribe.final @NonNull Observable<T> Observable.doOnDispose(@NonNull Action onDispose) Calls the given sharedActionif the downstream disposes the sequence.Single.doOnDispose(@NonNull Action onDispose) Calls the sharedActionif aSingleObserversubscribed to the currentSingledisposes the commonDisposableit received viaonSubscribe.Flowable.doOnEach(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, Action onComplete, Action onAfterTerminate) Calls the appropriate onXXX consumer (shared between all subscribers) whenever a signal with the same type passes through, before forwarding them to downstream.Invokes aConsumerwith aNotificationinstances matching the signals emitted by the currentFlowablebefore they are forwarded to the downstream.Calls the appropriate methods of the givenSubscriberwhen the currentFlowablesignals events before forwarding it to the downstream.final @NonNull Observable<T> Returns anObservablethat forwards the items and terminal events of the currentObservableto itsObservers and to the given sharedObserverinstance.final @NonNull Observable<T> Returns anObservablethat invokes aConsumerwith the appropriateNotificationobject when the currentObservablesignals an item or terminates.private @NonNull Observable<T> Observable.doOnEach(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete, @NonNull Action onAfterTerminate) Calls the appropriateonXXXconsumer (shared between allObservers) whenever a signal with the same type passes through, before forwarding them to the downstream.final @NonNull CompletableCalls the sharedConsumerwith the error sent viaonErrorfor eachMaybeObserverthat subscribes to the currentMaybe.final @NonNull Observable<T> Calls the shared consumer with the error sent viaonErrorfor eachSingleObserverthat subscribes to the currentSingle.final @NonNull CompletableMaybe.doOnEvent(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onEvent) Calls the givenonEventcallback with the (success value,null) for anonSuccess, (null, throwable) for anonErroror (null,null) for anonCompletesignal from thisMaybebefore delivering said signal to the downstream.Single.doOnEvent(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onEvent) Calls the shared consumer with the error sent viaonErroror the value viaonSuccessfor eachSingleObserverthat subscribes to the currentSingle.final @NonNull CompletableCompletable.doOnLifecycle(@NonNull Consumer<? super Disposable> onSubscribe, @NonNull Action onDispose) Calls the appropriateonXXXmethod (shared between allCompletableObservers) for the lifecycle events of the sequence (subscription, disposal).private @NonNull CompletableCompletable.doOnLifecycle(Consumer<? super Disposable> onSubscribe, Consumer<? super Throwable> onError, Action onComplete, Action onTerminate, Action onAfterTerminate, Action onDispose) Returns aCompletableinstance that calls the various callbacks upon the specific lifecycle events.Flowable.doOnLifecycle(@NonNull Consumer<? super org.reactivestreams.Subscription> onSubscribe, @NonNull LongConsumer onRequest, @NonNull Action onCancel) Calls the appropriateonXXXmethod (shared between allSubscribers) for the lifecycle events of the sequence (subscription, cancellation, requesting).Maybe.doOnLifecycle(@NonNull Consumer<? super Disposable> onSubscribe, @NonNull Action onDispose) Calls the appropriateonXXXmethod (shared between allMaybeObservers) for the lifecycle events of the sequence (subscription, disposal).final @NonNull Observable<T> Observable.doOnLifecycle(@NonNull Consumer<? super Disposable> onSubscribe, @NonNull Action onDispose) Calls the appropriateonXXXmethod (shared between allObservers) for the lifecycle events of the sequence (subscription, disposal).Single.doOnLifecycle(@NonNull Consumer<? super Disposable> onSubscribe, @NonNull Action onDispose) Calls the appropriateonXXXmethod (shared between allSingleObservers) for the lifecycle events of the sequence (subscription, disposal).Calls the givenConsumerwith the value emitted by the currentFlowablebefore forwarding it to the downstream.final @NonNull Observable<T> Calls the givenConsumerwith the value emitted by the currentObservablebefore forwarding it to the downstream.Flowable.doOnRequest(@NonNull LongConsumer onRequest) Calls the givenLongConsumerwith the request amount from the downstream before forwarding it to the currentFlowable.final @NonNull CompletableCompletable.doOnSubscribe(@NonNull Consumer<? super Disposable> onSubscribe) Returns aCompletableinstance that calls the givenonSubscribecallback with the disposable that the downstreamCompletableObservers receive upon subscription.Flowable.doOnSubscribe(@NonNull Consumer<? super org.reactivestreams.Subscription> onSubscribe) Calls the givenConsumerwith theSubscriptionprovided by the currentFlowableupon subscription from the downstream before forwarding it to the subscriber'sonSubscribemethod.Maybe.doOnSubscribe(@NonNull Consumer<? super Disposable> onSubscribe) Calls the sharedConsumerwith theDisposablesent through theonSubscribefor eachMaybeObserverthat subscribes to the currentMaybe.final @NonNull Observable<T> Observable.doOnSubscribe(@NonNull Consumer<? super Disposable> onSubscribe) Single.doOnSubscribe(@NonNull Consumer<? super Disposable> onSubscribe) Calls the shared consumer with theDisposablesent through theonSubscribefor eachSingleObserverthat subscribes to the currentSingle.Maybe.doOnSuccess(@NonNull Consumer<? super @NonNull T> onSuccess) Calls the sharedConsumerwith the success value sent viaonSuccessfor eachMaybeObserverthat subscribes to the currentMaybe.Single.doOnSuccess(@NonNull Consumer<? super @NonNull T> onSuccess) Calls the shared consumer with the success value sent viaonSuccessfor eachSingleObserverthat subscribes to the currentSingle.final @NonNull CompletableCompletable.doOnTerminate(@NonNull Action onTerminate) Returns aCompletableinstance that calls the givenonTerminateActionjust before thisCompletablecompletes normally or with an exception.Flowable.doOnTerminate(@NonNull Action onTerminate) Calls the givenActionwhen the currentFlowablecompletes normally or with an error before those signals are forwarded to the downstream.Maybe.doOnTerminate(@NonNull Action onTerminate) Returns aMaybeinstance that calls the given onTerminate callback just before thisMaybecompletes normally or with an exception.final @NonNull Observable<T> Observable.doOnTerminate(@NonNull Action onTerminate) Returns anObservableso that it invokes an action when the currentObservablecallsonCompleteoronError.Single.doOnTerminate(@NonNull Action onTerminate) Returns aSingleinstance that calls the givenonTerminatecallback just before thisSinglecompletes normally or with an exception.Flowable.elementAt(long index) Returns aMaybethat emits the single item at a specified index in a sequence of emissions from thisFlowableor completes if thisFlowablesequence has fewer elements than index.Returns aSinglethat emits the item found at a specified index in a sequence of emissions from thisFlowable, or a default item if that index is out of range.Observable.elementAt(long index) Returns aMaybethat emits the single item at a specified index in a sequence of emissions from the currentObservableor completes if the currentObservablesignals fewer elements than index.Returns aSinglethat emits the item found at a specified index in a sequence of emissions from the currentObservable, or a default item if that index is out of range.Flowable.elementAtOrError(long index) Returns aSinglethat emits the item found at a specified index in a sequence of emissions from thisFlowableor signals aNoSuchElementExceptionif thisFlowablehas fewer elements than index.Observable.elementAtOrError(long index) Returns aSinglethat emits the item found at a specified index in a sequence of emissions from the currentObservableor signals aNoSuchElementExceptionif the currentObservablesignals fewer elements than index.Flowable.empty()Returns aFlowablethat emits no items to theSubscriberand immediately invokes itsonCompletemethod.Maybe.empty()Returns a (singleton)Maybeinstance that callsonCompleteimmediately.static <@NonNull T>
@NonNull Observable<T> Observable.empty()Returns anObservablethat emits no items to theObserverand immediately invokes itsonCompletemethod.static @NonNull CompletableCreates aCompletablewhich calls the given error supplier for each subscriber and emits its returnedThrowable.static @NonNull CompletableCreates aCompletableinstance that emits the givenThrowableexception to subscribers.Returns aFlowablethat invokes aSubscriber'sonErrormethod when theSubscribersubscribes to it.Returns aFlowablethat invokes aSubscriber'sonErrormethod when theSubscribersubscribes to it.Returns aMaybethat invokes aMaybeObserver'sonErrormethod when theMaybeObserversubscribes to it.Returns aMaybethat invokes a subscriber'sonErrormethod when the subscriber subscribes to it.static <@NonNull T>
@NonNull Observable<T> static <@NonNull T>
@NonNull Observable<T> Signals aThrowablereturned by the callback function for each individualSingleObserver.Returns aSinglethat invokes a subscriber'sonErrormethod when the subscriber subscribes to it.Filters items emitted by the currentFlowableby only emitting those that satisfy a specified predicate.Filters the success item of theMaybevia a predicate function and emitting it if the predicate returnstrue, completing otherwise.final @NonNull Observable<T> Filters items emitted by the currentObservableby only emitting those that satisfy a specifiedPredicate.Filters the success item of theSinglevia a predicate function and emitting it if the predicate returnstrue, completing otherwise.Returns aSinglethat emits only the very first item emitted by thisFlowable, or a default item if thisFlowablecompletes without emitting anything.Returns aSinglethat emits only the very first item emitted by the currentObservable, or a default item if the currentObservablecompletes without emitting any items.Flowable.firstElement()Returns aMaybethat emits only the very first item emitted by thisFlowableor completes if thisFlowableis empty.Observable.firstElement()Returns aMaybethat emits only the very first item emitted by the currentObservable, or completes if the currentObservableis empty.Flowable.firstOrError()Returns aSinglethat emits only the very first item emitted by thisFlowableor signals aNoSuchElementExceptionif thisFlowableis empty.Observable.firstOrError()Returns aSinglethat emits only the very first item emitted by the currentObservableor signals aNoSuchElementExceptionif the currentObservableis empty.final @NonNull CompletionStage<T> Flowable.firstOrErrorStage()Signals the first upstream item or aNoSuchElementExceptionif the upstream is empty via aCompletionStage.final @NonNull CompletionStage<T> Observable.firstOrErrorStage()Signals the first upstream item or aNoSuchElementExceptionif the upstream is empty via aCompletionStage.final @NonNull CompletionStage<T> Flowable.firstStage(@NonNull T defaultItem) Signals the first upstream item (or the default item if the upstream is empty) via aCompletionStage.final @NonNull CompletionStage<T> Observable.firstStage(@NonNull T defaultItem) Signals the first upstream item (or the default item if the upstream is empty) via aCompletionStage.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns aFlowablethat emits items based on applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then merging those resultingPublishers and emitting the results of this merger.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayErrors) Returns aFlowablethat emits items based on applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then merging those resultingPublishers and emitting the results of this merger.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency) Returns aFlowablethat emits items based on applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then merging those resultingPublishers and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize) Returns aFlowablethat emits items based on applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then merging those resultingPublishers and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int maxConcurrency) Returns aFlowablethat emits items based on applying a function that you supply to each item emitted by the currentFlowable, where that function returns aPublisher, and then merging those resultingPublishers and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> onNextMapper, @NonNull Function<? super Throwable, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> onErrorMapper, @NonNull Supplier<? extends org.reactivestreams.Publisher<? extends @NonNull R>> onCompleteSupplier) Returns aFlowablethat applies a function to each item emitted or notification raised by the currentFlowableand then flattens thePublishers returned from these functions and emits the resulting items.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> onNextMapper, @NonNull Function<Throwable, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> onErrorMapper, @NonNull Supplier<? extends org.reactivestreams.Publisher<? extends @NonNull R>> onCompleteSupplier, int maxConcurrency) Returns aFlowablethat applies a function to each item emitted or notification raised by the currentFlowableand then flattens thePublishers returned from these functions and emits the resulting items, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Returns aFlowablethat emits the results of a specified function to the pair of values emitted by the currentFlowableand a specified collectionPublisher.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors) Returns aFlowablethat emits the results of a specified function to the pair of values emitted by the currentFlowableand a specified innerPublisher.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors, int maxConcurrency) Returns aFlowablethat emits the results of a specified function to the pair of values emitted by the currentFlowableand a specified collectionPublisher, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors, int maxConcurrency, int bufferSize) Returns aFlowablethat emits the results of a specified function to the pair of values emitted by the currentFlowableand a specified collectionPublisher, while limiting the maximum number of concurrent subscriptions to thesePublishers.Flowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, int maxConcurrency) Returns aFlowablethat emits the results of a specified function to the pair of values emitted by the currentFlowableand a specified collectionPublisher, while limiting the maximum number of concurrent subscriptions to thesePublishers.Maybe.flatMap(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Returns aMaybethat is based on applying a specified function to the item emitted by the currentMaybe, where that function returns aMaybeSource.Maybe.flatMap(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> onSuccessMapper, @NonNull Function<? super Throwable, ? extends MaybeSource<? extends @NonNull R>> onErrorMapper, @NonNull Supplier<? extends MaybeSource<? extends @NonNull R>> onCompleteSupplier) Maps theonSuccess,onErrororonCompletesignals of the currentMaybeinto aMaybeSourceand emits thatMaybeSource's signals.Maybe.flatMap(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Returns aMaybethat emits the results of a specified function to the pair of values emitted by the currentMaybeand a specified mappedMaybeSource.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns anObservablethat emits items based on applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then merging those returnedObservableSources and emitting the results of this merger.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean delayErrors) Returns anObservablethat emits items based on applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then merging those returnedObservableSources and emitting the results of this merger.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency) Returns anObservablethat emits items based on applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then merging those returnedObservableSources and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize) Returns anObservablethat emits items based on applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then merging those returnedObservableSources and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int maxConcurrency) Returns anObservablethat emits items based on applying a function that you supply to each item emitted by the currentObservable, where that function returns anObservableSource, and then merging those returnedObservableSources and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> onNextMapper, @NonNull Function<? super Throwable, ? extends ObservableSource<? extends @NonNull R>> onErrorMapper, @NonNull Supplier<? extends ObservableSource<? extends @NonNull R>> onCompleteSupplier) Returns anObservablethat applies a function to each item emitted or notification raised by the currentObservableand then flattens theObservableSources returned from these functions and emits the resulting items.final <@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> onNextMapper, @NonNull Function<Throwable, ? extends ObservableSource<? extends @NonNull R>> onErrorMapper, @NonNull Supplier<? extends ObservableSource<? extends @NonNull R>> onCompleteSupplier, int maxConcurrency) Returns anObservablethat applies a function to each item emitted or notification raised by the currentObservableand then flattens theObservableSources returned from these functions and emits the resulting items, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Returns anObservablethat emits the results of a specified function to the pair of values emitted by the currentObservableand the mapped innerObservableSource.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors) Returns anObservablethat emits the results of a specified function to the pair of values emitted by the currentObservableand the mapped innerObservableSource.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors, int maxConcurrency) Returns anObservablethat emits the results of a specified function to the pair of values emitted by the currentObservableand the mapped innerObservableSource, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, boolean delayErrors, int maxConcurrency, int bufferSize) Returns anObservablethat emits the results of a specified function to the pair of values emitted by the currentObservableand the mapped innerObservableSource, while limiting the maximum number of concurrent subscriptions to theseObservableSources.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.flatMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner, int maxConcurrency) Returns anObservablethat emits the results of a specified function to the pair of values emitted by the currentObservableand the mapped innerObservableSource, while limiting the maximum number of concurrent subscriptions to theseObservableSources.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aSinglethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aSingleSource.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> onSuccessMapper, @NonNull Function<? super Throwable, ? extends SingleSource<? extends @NonNull R>> onErrorMapper) Maps theonSuccessoronErrorsignals of the currentSingleinto aSingleSourceand emits thatSingleSource's signals.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Returns aSinglethat emits the results of a specified function to the pair of values emitted by the currentSingleand a specified mappedSingleSource.final @NonNull CompletableFlowable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the upstreamFlowableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete.final @NonNull CompletableFlowable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean delayErrors, int maxConcurrency) Maps each element of the upstreamFlowableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete, optionally delaying all errors.final @NonNull CompletableMaybe.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentMaybe, where that function returns aCompletable.final @NonNull CompletableObservable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps each element of the currentObservableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete.final @NonNull CompletableObservable.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper, boolean delayErrors) Maps each element of the currentObservableintoCompletableSources, subscribes to them and waits until the upstream and allCompletableSources complete, optionally delaying all errors.final @NonNull CompletableSingle.flatMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Returns aCompletablethat completes based on applying a specified function to the item emitted by the currentSingle, where that function returns aCompletableSource.Flowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Flowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, int bufferSize) Flowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull V> combiner) MergesIterables generated by a mapperFunctionfor each individual item emitted by the currentFlowableinto a singleFlowablesequence where the resulting items will be the combination of the original item and each inner item of the respectiveIterableas returned by theresultSelectorBiFunction.Flowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull V> combiner, int prefetch) MergesIterables generated by a mapperFunctionfor each individual item emitted by the currentFlowableinto a singleFlowablesequence where the resulting items will be the combination of the original item and each inner item of the respectiveIterableas returned by theresultSelectorBiFunction.final <@NonNull U>
@NonNull Observable<U> Observable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) final <@NonNull U,@NonNull V>
@NonNull Observable<V> Observable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull V> combiner) MergesIterables generated by a mapperFunctionfor each individual item emitted by the currentObservableinto a singleObservablesequence where the resulting items will be the combination of the original item and each inner item of the respectiveIterableas returned by theresultSelectorBiFunction.Flowable.flatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps each element of the upstreamFlowableintoMaybeSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence.Flowable.flatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency) Maps each element of the upstreamFlowableintoMaybeSources, subscribes to at mostmaxConcurrencyMaybeSources at a time and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence, optionally delaying all errors.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps each element of the currentObservableintoMaybeSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper, boolean delayErrors) Maps each element of the currentObservableintoMaybeSources, subscribes to them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence, optionally delaying all errors.Single.flatMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Returns aMaybethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aMaybeSource.final <@NonNull R>
@NonNull Observable<R> Maybe.flatMapObservable(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns anObservablethat is based on applying a specified function to the item emitted by the currentMaybe, where that function returns anObservableSource.final <@NonNull R>
@NonNull Observable<R> Single.flatMapObservable(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns anObservablethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns anObservableSource.Maybe.flatMapPublisher(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns aFlowablethat emits items based on applying a specified function to the item emitted by the currentMaybe, where that function returns aPublisher.Single.flatMapPublisher(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns aFlowablethat emits items based on applying a specified function to the item emitted by the currentSingle, where that function returns aPublisher.Flowable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps each element of the upstreamFlowableintoSingleSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence.Flowable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency) Maps each element of the upstreamFlowableintoSingleSources, subscribes to at mostmaxConcurrencySingleSources at a time and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence, optionally delaying all errors.Maybe.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aMaybebased on applying a specified function to the item emitted by the currentMaybe, where that function returns aSingle.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps each element of the currentObservableintoSingleSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean delayErrors) Maps each element of the currentObservableintoSingleSources, subscribes to them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence, optionally delaying all errors.Flowable.flatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.Flowable.flatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper, int prefetch) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps each upstream item into aStreamand emits theStream's items to the downstream in a sequential fashion.Maybe.flattenAsFlowable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Single.flattenAsFlowable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) final <@NonNull U>
@NonNull Observable<U> Maybe.flattenAsObservable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Maps the success value of the currentMaybeinto anIterableand emits its items as anObservablesequence.final <@NonNull U>
@NonNull Observable<U> Single.flattenAsObservable(@NonNull Function<@NonNull ? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Maps the success value of the currentSingleinto anIterableand emits its items as anObservablesequence.Maybe.flattenStreamAsFlowable(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Single.flattenStreamAsFlowable(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) final <@NonNull R>
@NonNull Observable<R> Maybe.flattenStreamAsObservable(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps the upstream succecss value into a JavaStreamand emits its items to the downstream consumer as anObservable.final <@NonNull R>
@NonNull Observable<R> Single.flattenStreamAsObservable(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps the upstream succecss value into a JavaStreamand emits its items to the downstream consumer as anObservable.final @NonNull DisposableSubscribes to the currentFlowableand receives notifications for each element.final @NonNull DisposableSubscribes to theObservableSourceand calls aConsumerfor each item of the currentObservableon its emission thread.final @NonNull DisposableFlowable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext) Subscribes to the currentFlowableand receives notifications for each element until theonNextPredicate returnsfalse.final @NonNull DisposableFlowable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentFlowableand receives notifications for each element and error events until theonNextPredicate returnsfalse.final @NonNull DisposableFlowable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the currentFlowableand receives notifications for each element and the terminal events until theonNextPredicate returnsfalse.final @NonNull DisposableObservable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext) Subscribes to theObservableSourceand calls aPredicatefor each item of the currentObservable, on its emission thread, until the predicate returnsfalse.final @NonNull DisposableObservable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to theObservableSourceand calls aPredicatefor each item or aConsumerwith the error of the currentObservable, on their original emission threads, until the predicate returnsfalse.final @NonNull DisposableObservable.forEachWhile(@NonNull Predicate<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to theObservableSourceand calls aPredicatefor each item, aConsumerwith the error or anActionupon completion of the currentObservable, on their original emission threads, until the predicate returnsfalse.static @NonNull CompletableCompletable.fromAction(@NonNull Action action) Returns aCompletableinstance that runs the givenActionfor eachCompletableObserverand emits either an exception or simply completes.Flowable.fromAction(@NonNull Action action) Returns aFlowableinstance that runs the givenActionfor eachSubscriberand emits either its exception or simply completes.Maybe.fromAction(@NonNull Action action) Returns aMaybeinstance that runs the givenActionfor eachMaybeObserverand emits either its exception or simply completes.static <@NonNull T>
@NonNull Observable<T> Observable.fromAction(@NonNull Action action) Converts an array into aPublisherthat emits the items in the array.static <@NonNull T>
@NonNull Observable<T> Converts an array into anObservableSourcethat emits the items in the array.static @NonNull CompletableCompletable.fromCallable(@NonNull Callable<?> callable) Returns aCompletablewhich when subscribed, executes theCallablefunction, ignores its normal result and emitsonErrororonCompleteonly.Flowable.fromCallable(@NonNull Callable<? extends @NonNull T> callable) Returns aFlowablethat, when aSubscribersubscribes to it, invokes a function you specify and then emits the value returned from that function.Maybe.fromCallable(@NonNull Callable<? extends @Nullable T> callable) Returns aMaybethat invokes the givenCallablefor each individualMaybeObserverthat subscribes and emits the resulting non-nullitem viaonSuccesswhile considering anullresult from theCallableas indication for valueless completion viaonComplete.static <@NonNull T>
@NonNull Observable<T> Observable.fromCallable(@NonNull Callable<? extends @NonNull T> callable) Returns anObservablethat, when an observer subscribes to it, invokes a function you specify and then emits the value returned from that function.Single.fromCallable(@NonNull Callable<? extends @NonNull T> callable) Returns aSinglethat invokes the givenCallablefor each incomingSingleObserverand emits its value or exception to them.Flowable.fromCompletable(@NonNull CompletableSource completableSource) Wraps aCompletableSourceinto aFlowable.Maybe.fromCompletable(@NonNull CompletableSource completableSource) Wraps aCompletableSourceinto aMaybe.static <@NonNull T>
@NonNull Observable<T> Observable.fromCompletable(@NonNull CompletableSource completableSource) Wraps aCompletableSourceinto anObservable.static @NonNull CompletableCompletable.fromCompletionStage(@NonNull CompletionStage<?> stage) Signals completion (or error) when theCompletionStageterminates.Flowable.fromCompletionStage(@NonNull CompletionStage<@NonNull T> stage) Signals the completion value or error of the given (hot)CompletionStage-based asynchronous calculation.Maybe.fromCompletionStage(@NonNull CompletionStage<@NonNull T> stage) Signals the completion value or error of the given (hot)CompletionStage-based asynchronous calculation.static <@NonNull T>
@NonNull Observable<@NonNull T> Observable.fromCompletionStage(@NonNull CompletionStage<@NonNull T> stage) Signals the completion value or error of the given (hot)CompletionStage-based asynchronous calculation.Single.fromCompletionStage(@NonNull CompletionStage<@NonNull T> stage) Signals the completion value or error of the given (hot)CompletionStage-based asynchronous calculation.static @NonNull CompletableCompletable.fromFuture(@NonNull Future<?> future) Returns aCompletableinstance that reacts to the termination of the givenFuturein a blocking fashion.Flowable.fromFuture(@NonNull Future<? extends @NonNull T> future) Converts aFutureinto aPublisher.Flowable.fromFuture(@NonNull Future<? extends @NonNull T> future, long timeout, @NonNull TimeUnit unit) Maybe.fromFuture(@NonNull Future<? extends @NonNull T> future) Maybe.fromFuture(@NonNull Future<? extends @NonNull T> future, long timeout, @NonNull TimeUnit unit) static <@NonNull T>
@NonNull Observable<T> Observable.fromFuture(@NonNull Future<? extends @NonNull T> future) Converts aFutureinto anObservable.static <@NonNull T>
@NonNull Observable<T> Observable.fromFuture(@NonNull Future<? extends @NonNull T> future, long timeout, @NonNull TimeUnit unit) Single.fromFuture(@NonNull Future<? extends @NonNull T> future) Converts aFutureinto aSingleand awaits its outcome in a blocking fashion.Single.fromFuture(@NonNull Future<? extends @NonNull T> future, long timeout, @NonNull TimeUnit unit) Converts aFutureinto aSingleand awaits its outcome, or timeout, in a blocking fashion.Flowable.fromIterable(@NonNull Iterable<? extends @NonNull T> source) Converts anIterablesequence into aPublisherthat emits the items in the sequence.static <@NonNull T>
@NonNull Observable<T> Observable.fromIterable(@NonNull Iterable<? extends @NonNull T> source) Converts anIterablesequence into anObservablethat emits the items in the sequence.static <@NonNull T>
@NonNull CompletableCompletable.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe) Returns aCompletableinstance that when subscribed to, subscribes to theMaybeSourceinstance and emits anonCompleteevent if the maybe emitsonSuccess/onCompleteor forwards anyonErrorevents.Flowable.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe) Returns aFlowableinstance that when subscribed to, subscribes to theMaybeSourceinstance and emitsonSuccessas a single item or forwards anyonCompleteoronErrorsignal.static <@NonNull T>
@NonNull Observable<T> Observable.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe) Returns anObservableinstance that when subscribed to, subscribes to theMaybeSourceinstance and emitsonSuccessas a single item or forwards anyonCompleteoronErrorsignal.Single.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe) Returns aSingleinstance that when subscribed to, subscribes to theMaybeSourceinstance and emitsonSuccessas a single item, turns anonCompleteintoNoSuchElementExceptionerror signal or forwards theonErrorsignal.Single.fromMaybe(@NonNull MaybeSource<@NonNull T> maybe, @NonNull T defaultItem) Returns aSingleinstance that when subscribed to, subscribes to theMaybeSourceinstance and emitsonSuccessas a single item, emits thedefaultItemfor anonCompletesignal or forwards theonErrorsignal.static <@NonNull T>
@NonNull CompletableCompletable.fromObservable(@NonNull ObservableSource<@NonNull T> observable) Returns aCompletableinstance that subscribes to the givenObservableSource, ignores all values and emits only the terminal event.Flowable.fromObservable(@NonNull ObservableSource<@NonNull T> source, @NonNull BackpressureStrategy strategy) Converts the givenObservableSourceinto aFlowableby applying the specified backpressure strategy.Maybe.fromObservable(@NonNull ObservableSource<@NonNull T> source) Wraps anObservableSourceinto aMaybeand emits the very first item or completes if the source is empty.Single.fromObservable(@NonNull ObservableSource<? extends @NonNull T> observable) Wraps a specificObservableSourceinto aSingleand signals its single element or error.Flowable.fromOptional(@NonNull Optional<@NonNull T> optional) Converts the existing value of the provided optional into aFlowable.just(Object)or an empty optional into anFlowable.empty()Flowableinstance.Maybe.fromOptional(@NonNull Optional<@NonNull T> optional) Converts the existing value of the provided optional into aMaybe.just(Object)or an empty optional into anMaybe.empty()Maybeinstance.static <@NonNull T>
@NonNull Observable<@NonNull T> Observable.fromOptional(@NonNull Optional<@NonNull T> optional) Converts the existing value of the provided optional into aObservable.just(Object)or an empty optional into anObservable.empty()Observableinstance.static <@NonNull T>
@NonNull CompletableCompletable.fromPublisher(@NonNull org.reactivestreams.Publisher<@NonNull T> publisher) Returns aCompletableinstance that subscribes to the givenPublisher, ignores all values and emits only the terminal event.Flowable.fromPublisher(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> publisher) Converts an arbitrary Reactive StreamsPublisherinto aFlowableif not already aFlowable.Maybe.fromPublisher(@NonNull org.reactivestreams.Publisher<@NonNull T> source) Wraps aPublisherinto aMaybeand emits the very first item or completes if the source is empty.static <@NonNull T>
@NonNull Observable<T> Observable.fromPublisher(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> publisher) Converts an arbitrary Reactive StreamsPublisherinto anObservable.Single.fromPublisher(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> publisher) Wraps a specificPublisherinto aSingleand signals its single element or error.static @NonNull CompletableCompletable.fromRunnable(@NonNull Runnable run) Returns aCompletableinstance that runs the givenRunnablefor eachCompletableObserverand emits either its unchecked exception or simply completes.Flowable.fromRunnable(@NonNull Runnable run) Returns aFlowableinstance that runs the givenRunnablefor eachSubscriberand emits either its unchecked exception or simply completes.Maybe.fromRunnable(@NonNull Runnable run) Returns aMaybeinstance that runs the givenRunnablefor eachMaybeObserverand emits either its unchecked exception or simply completes.static <@NonNull T>
@NonNull Observable<T> Observable.fromRunnable(@NonNull Runnable run) static <@NonNull T>
@NonNull CompletableCompletable.fromSingle(@NonNull SingleSource<@NonNull T> single) Returns aCompletableinstance that when subscribed to, subscribes to theSingleSourceinstance and emits a completion event if the single emitsonSuccessor forwards anyonErrorevents.Flowable.fromSingle(@NonNull SingleSource<@NonNull T> source) Returns aFlowableinstance that when subscribed to, subscribes to theSingleSourceinstance and emitsonSuccessas a single item or forwards theonErrorsignal.Maybe.fromSingle(@NonNull SingleSource<@NonNull T> single) Wraps aSingleSourceinto aMaybe.static <@NonNull T>
@NonNull Observable<T> Observable.fromSingle(@NonNull SingleSource<@NonNull T> source) Returns anObservableinstance that when subscribed to, subscribes to theSingleSourceinstance and emitsonSuccessas a single item or forwards theonErrorsignal.Flowable.fromStream(@NonNull Stream<@NonNull T> stream) Converts aStreaminto a finiteFlowableand emits its items in the sequence.static <@NonNull T>
@NonNull Observable<@NonNull T> Observable.fromStream(@NonNull Stream<@NonNull T> stream) Converts aStreaminto a finiteObservableand emits its items in the sequence.static @NonNull CompletableCompletable.fromSupplier(@NonNull Supplier<?> supplier) Returns aCompletablewhich when subscribed, executes theSupplierfunction, ignores its normal result and emitsonErrororonCompleteonly.Flowable.fromSupplier(@NonNull Supplier<? extends @NonNull T> supplier) Returns aFlowablethat, when aSubscribersubscribes to it, invokes a supplier function you specify and then emits the value returned from that function.Maybe.fromSupplier(@NonNull Supplier<? extends @Nullable T> supplier) Returns aMaybethat invokes the givenSupplierfor each individualMaybeObserverthat subscribes and emits the resulting non-nullitem viaonSuccesswhile considering anullresult from theSupplieras indication for valueless completion viaonComplete.static <@NonNull T>
@NonNull Observable<T> Observable.fromSupplier(@NonNull Supplier<? extends @NonNull T> supplier) Returns anObservablethat, when an observer subscribes to it, invokes a supplier function you specify and then emits the value returned from that function.Single.fromSupplier(@NonNull Supplier<? extends @NonNull T> supplier) Returns aSinglethat invokes passed supplier and emits its result for each individualSingleObserverthat subscribes.Returns a cold, synchronous, stateless and backpressure-aware generator of values.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator) Returns a cold, synchronous, stateful and backpressure-aware generator of values.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous, stateful and backpressure-aware generator of values.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiFunction<@NonNull S, @NonNull Emitter<@NonNull T>, @NonNull S> generator) Returns a cold, synchronous, stateful and backpressure-aware generator of values.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiFunction<@NonNull S, @NonNull Emitter<@NonNull T>, @NonNull S> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous, stateful and backpressure-aware generator of values.static <@NonNull T>
@NonNull Observable<T> Returns a cold, synchronous and stateless generator of values.static <@NonNull T,@NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator) Returns a cold, synchronous and stateful generator of values.static <@NonNull T,@NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous and stateful generator of values.static <@NonNull T,@NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiFunction<@NonNull S, Emitter<@NonNull T>, @NonNull S> generator) Returns a cold, synchronous and stateful generator of values.static <@NonNull T,@NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiFunction<@NonNull S, Emitter<@NonNull T>, @NonNull S> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous and stateful generator of values.final <@NonNull K>
@NonNull Flowable<GroupedFlowable<K, T>> Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K>
@NonNull Flowable<GroupedFlowable<K, T>> Flowable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, boolean delayError) Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K,@NonNull V>
@NonNull Flowable<GroupedFlowable<K, V>> Flowable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector) Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K,@NonNull V>
@NonNull Flowable<GroupedFlowable<K, V>> Flowable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, boolean delayError) Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K,@NonNull V>
@NonNull Flowable<GroupedFlowable<K, V>> Flowable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, boolean delayError, int bufferSize) Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K,@NonNull V>
@NonNull Flowable<GroupedFlowable<K, V>> Flowable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, boolean delayError, int bufferSize, @NonNull Function<? super Consumer<Object>, ? extends Map<@NonNull K, Object>> evictingMapFactory) Groups the items emitted by the currentFlowableaccording to a specified criterion, and emits these grouped items asGroupedFlowables.final <@NonNull K>
@NonNull Observable<GroupedObservable<K, T>> Groups the items emitted by the currentObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.final <@NonNull K>
@NonNull Observable<GroupedObservable<K, T>> Observable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, boolean delayError) Groups the items emitted by the currentObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.final <@NonNull K,@NonNull V>
@NonNull Observable<GroupedObservable<K, V>> Observable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, boolean delayError) Groups the items emitted by the currentObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.final <@NonNull K,@NonNull V>
@NonNull Observable<GroupedObservable<K, V>> Observable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, boolean delayError, int bufferSize) Groups the items emitted by the currentObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.final <@NonNull K,@NonNull V>
@NonNull Observable<GroupedObservable<K, V>> Observable.groupBy(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, Function<? super @NonNull T, ? extends @NonNull V> valueSelector) Groups the items emitted by the currentObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.Flowable.groupJoin(@NonNull org.reactivestreams.Publisher<? extends @NonNull TRight> other, @NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull TLeftEnd>> leftEnd, @NonNull Function<? super @NonNull TRight, @NonNull ? extends org.reactivestreams.Publisher<@NonNull TRightEnd>> rightEnd, @NonNull BiFunction<? super @NonNull T, ? super Flowable<@NonNull TRight>, ? extends @NonNull R> resultSelector) Returns aFlowablethat correlates twoPublishers when they overlap in time and groups the results.Observable.groupJoin(@NonNull ObservableSource<? extends @NonNull TRight> other, @NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull TLeftEnd>> leftEnd, @NonNull Function<? super @NonNull TRight, ? extends ObservableSource<@NonNull TRightEnd>> rightEnd, @NonNull BiFunction<? super @NonNull T, ? super Observable<@NonNull TRight>, ? extends @NonNull R> resultSelector) Returns anObservablethat correlates twoObservableSources when they overlap in time and groups the results.final @NonNull CompletableCompletable.hide()Hides the identity of thisCompletableand itsDisposable.Flowable.hide()Hides the identity of thisFlowableand itsSubscription.Maybe.hide()Hides the identity of thisMaybeand itsDisposable.final @NonNull Observable<T> Observable.hide()Hides the identity of the currentObservableand itsDisposable.Single.hide()Hides the identity of the currentSingle, including theDisposablethat is sent to the downstream viaonSubscribe().final @NonNull CompletableMaybe.ignoreElement()Returns aCompletablethat ignores the item emitted by the currentMaybeand only callsonCompleteoronError.final @NonNull CompletableSingle.ignoreElement()final @NonNull CompletableFlowable.ignoreElements()Ignores all items emitted by the currentFlowableand only callsonCompleteoronError.final @NonNull CompletableObservable.ignoreElements()Ignores all items emitted by the currentObservableand only callsonCompleteoronError.Returns aFlowablethat emits a0Lafter theinitialDelayand ever-increasing numbers after eachperiodof time thereafter.Flowable.interval(long initialDelay, long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits a0Lafter theinitialDelayand ever-increasing numbers after eachperiodof time thereafter, on a specifiedScheduler.Returns aFlowablethat emits a sequential number every specified interval of time.Returns aFlowablethat emits a sequential number every specified interval of time, on a specifiedScheduler.static @NonNull Observable<Long> Returns anObservablethat emits a0Lafter theinitialDelayand ever increasing numbers after eachperiodof time thereafter.static @NonNull Observable<Long> Observable.interval(long initialDelay, long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits a0Lafter theinitialDelayand ever increasing numbers after eachperiodof time thereafter, on a specifiedScheduler.static @NonNull Observable<Long> Returns anObservablethat emits a sequential number every specified interval of time.static @NonNull Observable<Long> Returns anObservablethat emits a sequential number every specified interval of time, on a specifiedScheduler.Flowable.intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit) Signals a range of long values, the first after some initial delay and the rest periodically after.Flowable.intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Signals a range of long values, the first after some initial delay and the rest periodically after.static @NonNull Observable<Long> Observable.intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit) Signals a range of long values, the first after some initial delay and the rest periodically after.static @NonNull Observable<Long> Observable.intervalRange(long start, long count, long initialDelay, long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Signals a range of long values, the first after some initial delay and the rest periodically after.Flowable.isEmpty()Maybe.isEmpty()Observable.isEmpty()Flowable.join(@NonNull org.reactivestreams.Publisher<? extends @NonNull TRight> other, @NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull TLeftEnd>> leftEnd, @NonNull Function<? super @NonNull TRight, @NonNull ? extends org.reactivestreams.Publisher<@NonNull TRightEnd>> rightEnd, @NonNull BiFunction<? super @NonNull T, ? super @NonNull TRight, ? extends @NonNull R> resultSelector) Correlates the items emitted by twoPublishers based on overlapping durations.Observable.join(@NonNull ObservableSource<? extends @NonNull TRight> other, @NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull TLeftEnd>> leftEnd, @NonNull Function<? super @NonNull TRight, ? extends ObservableSource<@NonNull TRightEnd>> rightEnd, @NonNull BiFunction<? super @NonNull T, ? super @NonNull TRight, ? extends @NonNull R> resultSelector) Correlates the items emitted by twoObservableSources based on overlapping durations.Returns aFlowablethat signals the given (constant reference) item and then completes.Converts two items into aPublisherthat emits those items.Converts three items into aPublisherthat emits those items.Converts four items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5) Converts five items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6) Converts six items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7) Converts seven items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8) Converts eight items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8, @NonNull T item9) Converts nine items into aPublisherthat emits those items.Flowable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8, @NonNull T item9, @NonNull T item10) Converts ten items into aPublisherthat emits those items.Returns aMaybethat emits a specified item.static <@NonNull T>
@NonNull Observable<T> Returns anObservablethat signals the given (constant reference) item and then completes.static <@NonNull T>
@NonNull Observable<T> Converts two items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Converts three items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Converts four items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5) Converts five items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6) Converts six items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7) Converts seven items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8) Converts eight items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8, @NonNull T item9) Converts nine items into anObservablethat emits those items.static <@NonNull T>
@NonNull Observable<T> Observable.just(@NonNull T item1, @NonNull T item2, @NonNull T item3, @NonNull T item4, @NonNull T item5, @NonNull T item6, @NonNull T item7, @NonNull T item8, @NonNull T item9, @NonNull T item10) Converts ten items into anObservablethat emits those items.Returns aSinglethat emits a specified item.Returns aSinglethat emits only the last item emitted by thisFlowable, or a default item if thisFlowablecompletes without emitting any items.Returns aSinglethat emits only the last item emitted by the currentObservable, or a default item if the currentObservablecompletes without emitting any items.Flowable.lastElement()Returns aMaybethat emits the last item emitted by thisFlowableor completes if thisFlowableis empty.Observable.lastElement()Returns aMaybethat emits the last item emitted by the currentObservableor completes if the currentObservableis empty.Flowable.lastOrError()Returns aSinglethat emits only the last item emitted by thisFlowableor signals aNoSuchElementExceptionif thisFlowableis empty.Observable.lastOrError()Returns aSinglethat emits only the last item emitted by the currentObservableor signals aNoSuchElementExceptionif the currentObservableis empty.final @NonNull CompletionStage<T> Flowable.lastOrErrorStage()Signals the last upstream item or aNoSuchElementExceptionif the upstream is empty via aCompletionStage.final @NonNull CompletionStage<T> Observable.lastOrErrorStage()Signals the last upstream item or aNoSuchElementExceptionif the upstream is empty via aCompletionStage.final @NonNull CompletionStage<T> Signals the last upstream item (or the default item if the upstream is empty) via aCompletionStage.final @NonNull CompletionStage<T> Signals the last upstream item (or the default item if the upstream is empty) via aCompletionStage.final @NonNull CompletableCompletable.lift(@NonNull CompletableOperator onLift) This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns aCompletablewhich, when subscribed to, invokes theapply(CompletableObserver)method of the providedCompletableOperatorfor each individual downstreamCompletableand allows the insertion of a custom operator by accessing the downstream'sCompletableObserverduring this subscription phase and providing a newCompletableObserver, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns aFlowablewhich, when subscribed to, invokes theapply(Subscriber)method of the providedFlowableOperatorfor each individual downstreamSubscriberand allows the insertion of a custom operator by accessing the downstream'sSubscriberduring this subscription phase and providing a newSubscriber, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns aMaybewhich, when subscribed to, invokes theapply(MaybeObserver)method of the providedMaybeOperatorfor each individual downstreamMaybeand allows the insertion of a custom operator by accessing the downstream'sMaybeObserverduring this subscription phase and providing a newMaybeObserver, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.final <@NonNull R>
@NonNull Observable<R> This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns anObservablewhich, when subscribed to, invokes theapply(Observer)method of the providedObservableOperatorfor each individual downstreamObserverand allows the insertion of a custom operator by accessing the downstream'sObserverduring this subscription phase and providing a newObserver, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.This method requires advanced knowledge about building operators, please consider other standard composition methods first; Returns aSinglewhich, when subscribed to, invokes theapply(SingleObserver)method of the providedSingleOperatorfor each individual downstreamSingleand allows the insertion of a custom operator by accessing the downstream'sSingleObserverduring this subscription phase and providing a newSingleObserver, containing the custom operator's intended business logic, that will be used in the subscription process going further upstream.Returns aFlowablethat applies a specified function to each item emitted by the currentFlowableand emits the results of these function applications.Returns aMaybethat applies a specified function to the item emitted by the currentMaybeand emits the result of this function application.final <@NonNull R>
@NonNull Observable<R> Returns anObservablethat applies a specified function to each item emitted by the currentObservableand emits the results of these function applications.Returns aSinglethat applies a specified function to the item emitted by the currentSingleand emits the result of this function application.Flowable.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper) Maps each upstream value into anOptionaland emits the contained item if not empty.Maybe.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper) Maps the upstream success value into anOptionaland emits the contained item if not empty.final <@NonNull R>
@NonNull Observable<R> Observable.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper) Maps each upstream value into anOptionaland emits the contained item if not empty.Single.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper) final <@NonNull T>
@NonNull Single<Notification<T>> Completable.materialize()Maps the signal types of thisCompletableinto aNotificationof the same kind and emits it as a single success value to downstream.final @NonNull Flowable<Notification<T>> Flowable.materialize()Returns aFlowablethat represents all of the emissions and notifications from the currentFlowableinto emissions marked with their original types withinNotificationobjects.final @NonNull Single<Notification<T>> Maybe.materialize()Maps the signal types of thisMaybeinto aNotificationof the same kind and emits it as aSingle'sonSuccessvalue to downstream.final @NonNull Observable<Notification<T>> Observable.materialize()Returns anObservablethat represents all of the emissions and notifications from the currentObservableinto emissions marked with their original types withinNotificationobjects.final @NonNull Single<Notification<T>> Single.materialize()Maps the signal types of thisSingleinto aNotificationof the same kind and emits it as a single success value to downstream.static @NonNull CompletableCompletable.merge(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.static @NonNull CompletableCompletable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.static @NonNull CompletableCompletable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency) Returns aCompletableinstance that keeps subscriptions to a limited number of sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.Flowable.merge(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Flowable.merge(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency) Flattens anIterableofPublishers into onePublisher, without any transformation, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.merge(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Flattens anIterableofPublishers into onePublisher, without any transformation, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.merge(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2) Flattens twoPublishers into a singlePublisher, without any transformation.Flowable.merge(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3) Flattens threePublishers into a singlePublisher, without any transformation.Flowable.merge(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source4) Flattens fourPublishers into a singlePublisher, without any transformation.Flowable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Flattens aPublisherthat emitsPublishers into a singlePublisherthat emits the items emitted by thosPublishers , without any transformation.Flowable.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency) Flattens aPublisherthat emitsPublishers into a singlePublisherthat emits the items emitted by thosePublishers, without any transformation, while limiting the maximum number of concurrent subscriptions to thesePublishers.Maybe.merge(@NonNull MaybeSource<? extends MaybeSource<? extends @NonNull T>> source) Flattens aMaybeSourcethat emits aMaybeSourceinto a singleMaybeSourcethat emits the item emitted by the nestedMaybeSource, without any transformation.Maybe.merge(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2) Flattens twoMaybeSources into a singleFlowable, without any transformation.Maybe.merge(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3) Flattens threeMaybeSources into a singleFlowable, without any transformation.Maybe.merge(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3, @NonNull MaybeSource<? extends @NonNull T> source4) Flattens fourMaybeSources into a singleFlowable, without any transformation.Merges anIterablesequence ofMaybeSourceinstances into a singleFlowablesequence, running allMaybeSources at once.Maybe.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Merges aPublishersequence ofMaybeSourceinstances into a singleFlowablesequence, running allMaybeSources at once.Maybe.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Merges aPublishersequence ofMaybeSourceinstances into a singleFlowablesequence, running at most maxConcurrencyMaybeSources at once.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Flattens anObservableSourcethat emitsObservableSources into a singleObservablethat emits the items emitted by thoseObservableSources, without any transformation.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency) Flattens anObservableSourcethat emitsObservableSources into a singleObservablethat emits the items emitted by thoseObservableSources, without any transformation, while limiting the maximum number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2) Flattens twoObservableSources into a singleObservable, without any transformation.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3) Flattens threeObservableSources into a singleObservable, without any transformation.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3, @NonNull ObservableSource<? extends @NonNull T> source4) Flattens fourObservableSources into a singleObservable, without any transformation.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency) Flattens anIterableofObservableSources into oneObservable, without any transformation, while limiting the number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.merge(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Flattens anIterableofObservableSources into oneObservable, without any transformation, while limiting the number of concurrent subscriptions to theseObservableSources.Single.merge(@NonNull SingleSource<? extends SingleSource<? extends @NonNull T>> source) Flattens aSingleSourcethat emits aSingleSingleinto a singleSinglethat emits the item emitted by the nestedSingleSource, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Flattens twoSingleSources into oneFlowablesequence, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Flattens threeSingleSources into oneFlowablesequence, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Flattens fourSingleSources into oneFlowablesequence, without any transformation.Merges anIterablesequence ofSingleSourceinstances into a singleFlowablesequence, running allSingleSources at once.Single.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges a sequence ofSingleSourceinstances emitted by aPublisherinto a singleFlowablesequence, running allSingleSources at once.private static @NonNull CompletableCompletable.merge0(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency, boolean delayErrors) Returns aCompletableinstance that keeps subscriptions to a limited number ofCompletableSources at once and completes only when all sourceCompletableSources terminate in one way or another, combining any exceptions signaled by either the sourcePublisheror the innerCompletableSourceinstances.static @NonNull CompletableCompletable.mergeArray(@NonNull CompletableSource... sources) Returns aCompletableinstance that subscribes to all sources at once and completes only when all sourceCompletableSources complete or one of them emits an error.Flowable.mergeArray(int maxConcurrency, int bufferSize, @NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Flattens an array ofPublishers into onePublisher, without any transformation, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.mergeArray(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Flattens an array ofPublishers into onePublisher, without any transformation.Maybe.mergeArray(MaybeSource<? extends @NonNull T>... sources) Merges an array ofMaybeSourceinstances into a singleFlowablesequence, running allMaybeSources at once.static <@NonNull T>
@NonNull Observable<T> Observable.mergeArray(int maxConcurrency, int bufferSize, @NonNull ObservableSource<? extends @NonNull T>... sources) Flattens an array ofObservableSources into oneObservable, without any transformation, while limiting the number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.mergeArray(@NonNull ObservableSource<? extends @NonNull T>... sources) Flattens an array ofObservableSources into oneObservable, without any transformation.Single.mergeArray(SingleSource<? extends @NonNull T>... sources) Merges an array ofSingleSourceinstances into a singleFlowablesequence, running allSingleSources at once.static @NonNull CompletableCompletable.mergeArrayDelayError(@NonNull CompletableSource... sources) Returns aCompletablethat subscribes to allCompletableSources in the source array and delays any error emitted by any of the innerCompletableSources until all of them terminate in a way or another.Flowable.mergeArrayDelayError(int maxConcurrency, int bufferSize, @NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Flattens an array ofPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.mergeArrayDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Flattens an array ofPublishers into oneFlowable, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them.Maybe.mergeArrayDelayError(@NonNull MaybeSource<? extends @NonNull T>... sources) Flattens an array ofMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from each of the sourceMaybeSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeArrayDelayError(int maxConcurrency, int bufferSize, @NonNull ObservableSource<? extends @NonNull T>... sources) Flattens an array ofObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of theObservableSources without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.mergeArrayDelayError(@NonNull ObservableSource<? extends @NonNull T>... sources) Flattens an array ofObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of theObservableSources without being interrupted by an error notification from one of them.Single.mergeArrayDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Flattens an array ofSingleSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from each of the sourceSingleSources without being interrupted by an error notification from one of them.static @NonNull CompletableCompletable.mergeDelayError(@NonNull Iterable<@NonNull ? extends CompletableSource> sources) Returns aCompletablethat subscribes to allCompletableSources in the source sequence and delays any error emitted by any of the innerCompletableSources until all of them terminate in a way or another.static @NonNull CompletableCompletable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Returns aCompletablethat subscribes to allCompletableSources in the source sequence and delays any error emitted by either the sourcesPublisheror any of the innerCompletableSources until all of them terminate in a way or another.static @NonNull CompletableCompletable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources, int maxConcurrency) Returns aCompletablethat subscribes to a limited number of innerCompletableSources at once in the source sequence and delays any error emitted by either the sourcesPublisheror any of the innerCompletableSources until all of them terminate in a way or another.Flowable.mergeDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Flattens anIterableofPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them.Flowable.mergeDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency) Flattens anIterableofPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.mergeDelayError(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Flattens anIterableofPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to thesePublishers.Flowable.mergeDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2) Flattens twoPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from each of the sourcePublishers without being interrupted by an error notification from one of them.Flowable.mergeDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3) Flattens threePublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from all of the sourcePublishers without being interrupted by an error notification from one of them.Flowable.mergeDelayError(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source4) Flattens fourPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from all of the sourcePublishers without being interrupted by an error notification from one of them.Flowable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Flattens aPublisherthat emitsPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from all of the sourcePublishers without being interrupted by an error notification from one of them.Flowable.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int maxConcurrency) Flattens aPublisherthat emitsPublishers into onePublisher, in a way that allows aSubscriberto receive all successfully emitted items from all of the sourcePublishers without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to thesePublishers.Maybe.mergeDelayError(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2) Flattens twoMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from each of the sourceMaybeSources without being interrupted by an error notification from one of them.Maybe.mergeDelayError(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3) Flattens threeMaybeSourceinto oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from all of the sourceMaybeSources without being interrupted by an error notification from one of them.Maybe.mergeDelayError(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull MaybeSource<? extends @NonNull T> source3, @NonNull MaybeSource<? extends @NonNull T> source4) Flattens fourMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from all of the sourceMaybeSources without being interrupted by an error notification from one of them.Maybe.mergeDelayError(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Flattens anIterablesequence ofMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from each of the sourceMaybeSources without being interrupted by an error notification from one of them.Maybe.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Flattens aPublisherthat emitsMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from all of the sourceMaybeSources without being interrupted by an error notification from one of them or even the mainPublisher.Maybe.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, int maxConcurrency) Flattens aPublisherthat emitsMaybeSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from all of the sourceMaybeSources without being interrupted by an error notification from one of them or even the mainPublisheras well as limiting the total number of activeMaybeSources.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Flattens anObservableSourcethat emitsObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from all of the emittedObservableSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency) Flattens anObservableSourcethat emitsObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from all of the emittedObservableSources without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2) Flattens twoObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of theObservableSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3) Flattens threeObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from all of theObservableSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull ObservableSource<? extends @NonNull T> source3, @NonNull ObservableSource<? extends @NonNull T> source4) Flattens fourObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from all of theObservableSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources) Flattens anIterableofObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of the returnedObservableSources without being interrupted by an error notification from one of them.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency) Flattens anIterableofObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of the returnedObservableSources without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to theseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.mergeDelayError(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, int maxConcurrency, int bufferSize) Flattens anIterableofObservableSources into oneObservable, in a way that allows anObserverto receive all successfully emitted items from each of the returnedObservableSources without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to theseObservableSources.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges anIterablesequence ofSingleSourceinstances into oneFlowablesequence, running allSingleSources at once and delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges a sequence ofSingleSourceinstances emitted by aPublisherinto aFlowablesequence, running allSingleSources at once and delaying any error(s) until all sources succeed or fail.final @NonNull CompletableCompletable.mergeWith(@NonNull CompletableSource other) Returns aCompletablewhich subscribes to this and the otherCompletableSourceand completes when both of them complete or one emits an error.Flowable.mergeWith(@NonNull CompletableSource other) Relays the items of thisFlowableand completes only when the otherCompletableSourcecompletes as well.Flowable.mergeWith(@NonNull MaybeSource<? extends @NonNull T> other) Merges the sequence of items of thisFlowablewith the success value of the otherMaybeSourceor waits for both to complete normally if theMaybeSourceis empty.Flowable.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) Merges the sequence of items of thisFlowablewith the success value of the otherSingleSource.Flattens this and anotherPublisherinto a singlePublisher, without any transformation.Maybe.mergeWith(@NonNull MaybeSource<? extends @NonNull T> other) final @NonNull Observable<T> Observable.mergeWith(@NonNull CompletableSource other) Relays the items of the currentObservableand completes only when the otherCompletableSourcecompletes as well.final @NonNull Observable<T> Observable.mergeWith(@NonNull MaybeSource<? extends @NonNull T> other) Merges the sequence of items of the currentObservablewith the success value of the otherMaybeSourceor waits both to complete normally if theMaybeSourceis empty.final @NonNull Observable<T> Observable.mergeWith(@NonNull ObservableSource<? extends @NonNull T> other) Flattens the currentObservableand anotherObservableSourceinto a singleObservablesequence, without any transformation.final @NonNull Observable<T> Observable.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) Merges the sequence of items of the currentObservablewith the success value of the otherSingleSource.Single.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) static @NonNull CompletableCompletable.never()Returns aCompletablethat never callsonErrororonComplete.Flowable.never()Returns aFlowablethat never sends any items or notifications to aSubscriber.Maybe.never()Returns aMaybethat never sends any items or notifications to aMaybeObserver.static <@NonNull T>
@NonNull Observable<T> Observable.never()Returns anObservablethat never sends any items or notifications to anObserver.Single.never()Returns a singleton instance of a never-signalingSingle(only callsonSubscribe).final @NonNull CompletableReturns aCompletablewhich emits the terminal events from the thread of the specifiedScheduler.Signals the items and terminal signals of the currentFlowableon the specifiedScheduler, asynchronously with a bounded buffer ofFlowable.bufferSize()slots.Signals the items and terminal signals of the currentFlowableon the specifiedScheduler, asynchronously with a bounded buffer and optionally delaysonErrornotifications.Signals the items and terminal signals of the currentFlowableon the specifiedScheduler, asynchronously with a bounded buffer of configurable size and optionally delaysonErrornotifications.Wraps aMaybeto emit its item (or notify of its error) on a specifiedScheduler, asynchronously.final @NonNull Observable<T> Returns anObservableto perform the currentObservable's emissions and notifications on a specifiedScheduler, asynchronously with an unbounded buffer withFlowable.bufferSize()"island size".final @NonNull Observable<T> Returns anObservableto perform the currentObservable's emissions and notifications on a specifiedScheduler, asynchronously with an unbounded buffer withFlowable.bufferSize()"island size" and optionally delaysonErrornotifications.final @NonNull Observable<T> Returns anObservableto perform the currentObservable's emissions and notifications on a specifiedScheduler, asynchronously with an unbounded buffer of configurable "island size" and optionally delaysonErrornotifications.Signals the success item or the terminal signals of the currentSingleon the specifiedScheduler, asynchronously.Filters the items emitted by the currentFlowable, only emitting those of the specified type.Filters the items emitted by the currentMaybe, only emitting its success value if that is an instance of the suppliedClass.final <@NonNull U>
@NonNull Observable<U> Filters the items emitted by the currentObservable, only emitting those of the specified type.Filters the items emitted by the currentSingle, only emitting its success value if that is an instance of the suppliedClass.Flowable.onBackpressureBuffer()Buffers an unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureBuffer(boolean delayError) Buffers an unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place, optionally delaying an error until all buffered items have been consumed.Flowable.onBackpressureBuffer(int capacity) Buffers an limited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place, however, the resultingFlowablewill signal aMissingBackpressureExceptionviaonErroras soon as the buffer's capacity is exceeded, dropping all undelivered items, and canceling the flow.Flowable.onBackpressureBuffer(int capacity, boolean delayError) Buffers an limited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place, however, the resultingFlowablewill signal aMissingBackpressureExceptionviaonErroras soon as the buffer's capacity is exceeded, dropping all undelivered items, and canceling the flow.Flowable.onBackpressureBuffer(int capacity, boolean delayError, boolean unbounded) Buffers an optionally unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureBuffer(int capacity, boolean delayError, boolean unbounded, @NonNull Action onOverflow) Buffers an optionally unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureBuffer(int capacity, boolean delayError, boolean unbounded, @NonNull Action onOverflow, @NonNull Consumer<? super @NonNull T> onDropped) Buffers an optionally unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureBuffer(int capacity, @NonNull Action onOverflow) Buffers an limited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place, however, the resultingFlowablewill signal aMissingBackpressureExceptionviaonErroras soon as the buffer's capacity is exceeded, dropping all undelivered items, canceling the flow and calling theonOverflowaction.Flowable.onBackpressureBuffer(long capacity, @Nullable Action onOverflow, @NonNull BackpressureOverflowStrategy overflowStrategy) Buffers an optionally unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureBuffer(long capacity, @Nullable Action onOverflow, @NonNull BackpressureOverflowStrategy overflowStrategy, @NonNull Consumer<? super @NonNull T> onDropped) Buffers an optionally unlimited number of items from the currentFlowableand allows it to emit as fast it can while allowing the downstream to consume the items at its own place.Flowable.onBackpressureDrop()Drops items from the currentFlowableif the downstream is not ready to receive new items (indicated by a lack ofSubscription.request(long)calls from it).Flowable.onBackpressureDrop(@NonNull Consumer<? super @NonNull T> onDrop) Drops items from the currentFlowableif the downstream is not ready to receive new items (indicated by a lack ofSubscription.request(long)calls from it) and calls the givenConsumerwith such dropped items.Flowable.onBackpressureLatest()Drops all but the latest item emitted by the currentFlowableif the downstream is not ready to receive new items (indicated by a lack ofSubscription.request(long)calls from it) and emits this latest item when the downstream becomes ready.Flowable.onBackpressureLatest(@NonNull Consumer<? super @NonNull T> onDropped) Drops all but the latest item emitted by the currentFlowableif the downstream is not ready to receive new items (indicated by a lack ofSubscription.request(long)calls from it) and emits this latest item when the downstream becomes ready.Flowable.onBackpressureReduce(@NonNull BiFunction<@NonNull T, @NonNull T, @NonNull T> reducer) Reduces a sequence of two not emitted values via a function into a single value if the downstream is not ready to receive new items (indicated by a lack ofSubscription.request(long)calls from it) and emits this latest item when the downstream becomes ready.Flowable.onBackpressureReduce(@NonNull Supplier<@NonNull R> supplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Reduces upstream values into an aggregate value, provided by a supplier and combined via a reducer function, while the downstream is not ready to receive items, then emits this aggregate value when the downstream becomes ready.final @NonNull CompletableCompletable.onErrorComplete()Returns aCompletableinstance that if thisCompletableemits an error, it will emit anonCompleteand swallow the upstreamThrowable.final @NonNull CompletableCompletable.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) Flowable.onErrorComplete()Returns aFlowableinstance that if the currentFlowableemits an error, it will emit anonCompleteand swallow the throwable.Flowable.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) Returns aFlowableinstance that if the currentFlowableemits an error and the predicate returnstrue, it will emit anonCompleteand swallow the throwable.Maybe.onErrorComplete()Returns aMaybeinstance that if thisMaybeemits an error, it will emit anonCompleteand swallow the throwable.Maybe.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) Returns aMaybeinstance that if thisMaybeemits an error and the predicate returnstrue, it will emit anonCompleteand swallow the throwable.final @NonNull Observable<T> Observable.onErrorComplete()Returns anObservableinstance that if the currentObservableemits an error, it will emit anonCompleteand swallow the throwable.final @NonNull Observable<T> Observable.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) Returns anObservableinstance that if the currentObservableemits an error and the predicate returnstrue, it will emit anonCompleteand swallow the throwable.Single.onErrorComplete()Returns aMaybeinstance that if the currentSingleemits an error, it will emit anonCompleteand swallow the throwable.Single.onErrorComplete(@NonNull Predicate<? super Throwable> predicate) Returns aMaybeinstance that if thisSingleemits an error and the predicate returnstrue, it will emit anonCompleteand swallow the throwable.final @NonNull CompletableCompletable.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends CompletableSource> fallbackSupplier) Returns aCompletableinstance that when encounters an error from thisCompletable, calls the specifiedmapperFunctionthat returns aCompletableSourceinstance for it and resumes the execution with it.Flowable.onErrorResumeNext(@NonNull Function<? super Throwable, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> fallbackSupplier) Resumes the flow with aPublisherreturned for the failureThrowableof the currentFlowableby a function instead of signaling the error viaonError.Maybe.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends MaybeSource<? extends @NonNull T>> fallbackSupplier) Resumes the flow with aMaybeSourcereturned for the failureThrowableof the currentMaybeby a function instead of signaling the error viaonError.final @NonNull Observable<T> Observable.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends ObservableSource<? extends @NonNull T>> fallbackSupplier) Resumes the flow with anObservableSourcereturned for the failureThrowableof the currentObservableby a function instead of signaling the error viaonError.Single.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends SingleSource<? extends @NonNull T>> fallbackSupplier) Resumes the flow with aSingleSourcereturned for the failureThrowableof the currentSingleby a function instead of signaling the error viaonError.final @NonNull CompletableCompletable.onErrorResumeWith(@NonNull CompletableSource fallback) Resumes the flow with the givenCompletableSourcewhen the currentCompletablefails instead of signaling the error viaonError.Flowable.onErrorResumeWith(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> fallback) Resumes the flow with the givenPublisherwhen the currentFlowablefails instead of signaling the error viaonError.Maybe.onErrorResumeWith(@NonNull MaybeSource<? extends @NonNull T> fallback) Resumes the flow with the givenMaybeSourcewhen the currentMaybefails instead of signaling the error viaonError.final @NonNull Observable<T> Observable.onErrorResumeWith(@NonNull ObservableSource<? extends @NonNull T> fallback) Resumes the flow with the givenObservableSourcewhen the currentObservablefails instead of signaling the error viaonError.Single.onErrorResumeWith(@NonNull SingleSource<? extends @NonNull T> fallback) Resumes the flow with the givenSingleSourcewhen the currentSinglefails instead of signaling the error viaonError.Completable.onErrorReturn(@NonNull Function<? super Throwable, ? extends @NonNull T> itemSupplier) Ends the flow with a success item returned by a function for theThrowableerror signaled by the currentCompletableinstead of signaling the error viaonError.Ends the flow with a last item returned by a function for theThrowableerror signaled by the currentFlowableinstead of signaling the error viaonError.Ends the flow with a success item returned by a function for theThrowableerror signaled by the currentMaybeinstead of signaling the error viaonError.final @NonNull Observable<T> Ends the flow with a last item returned by a function for theThrowableerror signaled by the currentObservableinstead of signaling the error viaonError.Ends the flow with a success item returned by a function for theThrowableerror signaled by the currentSingleinstead of signaling the error viaonError.Completable.onErrorReturnItem(@NonNull T item) Ends the flow with the given success item when the currentCompletablefails instead of signaling the error viaonError.Flowable.onErrorReturnItem(@NonNull T item) Ends the flow with the given last item when the currentFlowablefails instead of signaling the error viaonError.Maybe.onErrorReturnItem(@NonNull T item) Ends the flow with the given success item when the currentMaybefails instead of signaling the error viaonError.final @NonNull Observable<T> Observable.onErrorReturnItem(@NonNull T item) Ends the flow with the given last item when the currentObservablefails instead of signaling the error viaonError.Single.onErrorReturnItem(@NonNull T item) Signals the specified value as success in case the currentSinglesignals an error.final @NonNull CompletableCompletable.onTerminateDetach()Nulls out references to the upstream producer and downstreamCompletableObserverif the sequence is terminated or downstream callsdispose().Flowable.onTerminateDetach()Nulls out references to the upstream producer and downstreamSubscriberif the sequence is terminated or downstream cancels.Maybe.onTerminateDetach()Nulls out references to the upstream producer and downstreamMaybeObserverif the sequence is terminated or downstream callsdispose().final @NonNull Observable<T> Observable.onTerminateDetach()Nulls out references to the upstream producer and downstreamObserverif the sequence is terminated or downstream callsdispose().Single.onTerminateDetach()Nulls out references to the upstream producer and downstreamSingleObserverif the sequence is terminated or downstream callsdispose().final @NonNull ParallelFlowable<T> Flowable.parallel()Parallelizes the flow by creating multiple 'rails' (equal to the number of CPUs) and dispatches the upstream items to them in a round-robin fashion.final @NonNull ParallelFlowable<T> Flowable.parallel(int parallelism) Parallelizes the flow by creating the specified number of 'rails' and dispatches the upstream items to them in a round-robin fashion.final @NonNull ParallelFlowable<T> Flowable.parallel(int parallelism, int prefetch) Parallelizes the flow by creating the specified number of 'rails' and dispatches the upstream items to them in a round-robin fashion and uses the defined per-'rail' prefetch amount.final @NonNull ConnectableFlowable<T> Flowable.publish()Returns aConnectableFlowable, which is a variety ofPublisherthat waits until itsconnectmethod is called before it begins emitting items to thoseSubscribers that have subscribed to it.final @NonNull ConnectableFlowable<T> Flowable.publish(int bufferSize) Returns aConnectableFlowable, which is a variety ofPublisherthat waits until itsconnectmethod is called before it begins emitting items to thoseSubscribers that have subscribed to it.Flowable.publish(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> selector, int prefetch) Returns aFlowablethat emits the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the underlying sequence.Flowable.publish(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector) Returns aFlowablethat emits the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the underlying sequence.final @NonNull ConnectableObservable<T> Observable.publish()Returns aConnectableObservable, which is a variety ofObservableSourcethat waits until itsconnectmethod is called before it begins emitting items to thoseObservers that have subscribed to it.final <@NonNull R>
@NonNull Observable<R> Observable.publish(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector) Returns anObservablethat emits the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservablesequence.Flowable.range(int start, int count) Returns aFlowablethat emits a sequence ofIntegers within a specified range.static @NonNull Observable<Integer> Observable.range(int start, int count) Returns anObservablethat emits a sequence ofIntegers within a specified range.Flowable.rangeLong(long start, long count) Returns aFlowablethat emits a sequence ofLongs within a specified range.static @NonNull Observable<Long> Observable.rangeLong(long start, long count) Returns anObservablethat emits a sequence ofLongs within a specified range.Flowable.rebatchRequests(int n) Requestsninitially from the upstream and then 75% ofnsubsequently after 75% ofnvalues have been emitted to the downstream.Returns aMaybethat applies a specified accumulator function to the first item emitted by the currentFlowable, then feeds the result of that function along with the second item emitted by the currentFlowableinto the same function, and so on until all items have been emitted by the current and finiteFlowable, and emits the final result from the final call to your function as its sole item.Flowable.reduce(@NonNull R seed, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Returns aSinglethat applies a specified accumulator function to the first item emitted by the currentFlowableand a specified seed value, then feeds the result of that function along with the second item emitted by the currentFlowableinto the same function, and so on until all items have been emitted by the current and finiteFlowable, emitting the final result from the final call to your function as its sole item.Returns aMaybethat applies a specified accumulator function to the first item emitted by the currentObservable, then feeds the result of that function along with the second item emitted by the currentObservableinto the same function, and so on until all items have been emitted by the current and finiteObservable, and emits the final result from the final call to your function as its sole item.Observable.reduce(@NonNull R seed, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Returns aSinglethat applies a specified accumulator function to the first item emitted by the currentObservableand a specified seed value, then feeds the result of that function along with the second item emitted by the currentObservableinto the same function, and so on until all items have been emitted by the current and finiteObservable, emitting the final result from the final call to your function as its sole item.Flowable.reduceWith(@NonNull Supplier<@NonNull R> seedSupplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Returns aSinglethat applies a specified accumulator function to the first item emitted by the currentFlowableand a seed value derived from calling a specifiedseedSupplier, then feeds the result of that function along with the second item emitted by the currentFlowableinto the same function, and so on until all items have been emitted by the current and finiteFlowable, emitting the final result from the final call to your function as its sole item.Observable.reduceWith(@NonNull Supplier<@NonNull R> seedSupplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Returns aSinglethat applies a specified accumulator function to the first item emitted by the currentObservableand a seed value derived from calling a specifiedseedSupplier, then feeds the result of that function along with the second item emitted by the currentObservableinto the same function, and so on until all items have been emitted by the current and finiteObservable, emitting the final result from the final call to your function as its sole item.final @NonNull CompletableCompletable.repeat()Returns aCompletablethat repeatedly subscribes to thisCompletableuntil disposed.final @NonNull CompletableCompletable.repeat(long times) Returns aCompletablethat subscribes repeatedly at most the given number of times to thisCompletable.Flowable.repeat()Returns aFlowablethat repeats the sequence of items emitted by the currentFlowableindefinitely.Flowable.repeat(long times) Returns aFlowablethat repeats the sequence of items emitted by the currentFlowableat mostcounttimes.Maybe.repeat()Returns aFlowablethat repeats the sequence of items emitted by the currentMaybeindefinitely.Maybe.repeat(long times) Returns aFlowablethat repeats the sequence of items emitted by the currentMaybeat mostcounttimes.final @NonNull Observable<T> Observable.repeat()Returns anObservablethat repeats the sequence of items emitted by the currentObservableindefinitely.final @NonNull Observable<T> Observable.repeat(long times) Returns anObservablethat repeats the sequence of items emitted by the currentObservableat mostcounttimes.Single.repeat()Repeatedly re-subscribes to the currentSingleand emits each success value as aFlowablesequence.Single.repeat(long times) Re-subscribes to the currentSingleat most the given number of times and emits each success value as aFlowablesequence.final @NonNull CompletableCompletable.repeatUntil(@NonNull BooleanSupplier stop) Returns aCompletablethat repeatedly subscribes to thisCompletableso long as the given stopBooleanSupplierreturnsfalse.Flowable.repeatUntil(@NonNull BooleanSupplier stop) Returns aFlowablethat repeats the sequence of items emitted by the currentFlowableuntil the provided stop function returnstrue.Maybe.repeatUntil(@NonNull BooleanSupplier stop) Returns aFlowablethat repeats the sequence of items emitted by the currentMaybeuntil the provided stop function returnstrue.final @NonNull Observable<T> Observable.repeatUntil(@NonNull BooleanSupplier stop) Returns anObservablethat repeats the sequence of items emitted by the currentObservableuntil the provided stop function returnstrue.Single.repeatUntil(@NonNull BooleanSupplier stop) Re-subscribes to the currentSingleuntil the givenBooleanSupplierreturnstrueand emits the success items as aFlowablesequence.final @NonNull CompletableCompletable.repeatWhen(@NonNull Function<? super Flowable<Object>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aCompletableinstance that repeats when thePublisherreturned by the handlerFunctionemits an item or completes when thisPublisheremits anonCompleteevent.Flowable.repeatWhen(@NonNull Function<? super Flowable<Object>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aFlowablethat emits the same values as the currentFlowablewith the exception of anonComplete.Maybe.repeatWhen(@NonNull Function<? super Flowable<Object>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aFlowablethat emits the same values as the currentMaybewith the exception of anonComplete.final @NonNull Observable<T> Observable.repeatWhen(@NonNull Function<? super Observable<Object>, ? extends ObservableSource<?>> handler) Returns anObservablethat emits the same values as the currentObservablewith the exception of anonComplete.Single.repeatWhen(@NonNull Function<? super Flowable<Object>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Re-subscribes to the currentSingleif thePublisherreturned by the handler function signals a value in response to a value signaled through theFlowablethe handler receives.final @NonNull ConnectableFlowable<T> Flowable.replay()Returns aConnectableFlowablethat shares a single subscription to the underlyingPublisherthat will replay all of its items and notifications to any futureSubscriber.final @NonNull ConnectableFlowable<T> Flowable.replay(int bufferSize) Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays at mostbufferSizeitems to lateSubscribers.final @NonNull ConnectableFlowable<T> Flowable.replay(int bufferSize, boolean eagerTruncate) Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays at mostbufferSizeitems to lateSubscribers.final @NonNull ConnectableFlowable<T> Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays at mostbufferSizeitems that were emitted during a specified time window.final @NonNull ConnectableFlowable<T> Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays a maximum ofbufferSizeitems that are emitted within a specified time window to lateSubscribers.final @NonNull ConnectableFlowable<T> Flowable.replay(int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays a maximum ofbufferSizeitems that are emitted within a specified time window to lateSubscribers.final @NonNull ConnectableFlowable<T> Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays all items emitted by it within a specified time window to lateSubscribers.final @NonNull ConnectableFlowable<T> Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays all items emitted by it within a specified time window to lateSubscribers.final @NonNull ConnectableFlowable<T> Flowable.replay(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aConnectableFlowablethat shares a single subscription to the currentFlowableand replays all items emitted by it within a specified time window to lateSubscribers.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector) Returns aFlowablethat emits items that are the results of invoking a specified selector on the items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, int bufferSize) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replayingbufferSizenotifications.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, int bufferSize, boolean eagerTruncate) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replayingbufferSizenotifications.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying no more thanbufferSizeitems that were emitted within a specified time window.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying no more thanbufferSizeitems that were emitted within a specified time window.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying no more thanbufferSizeitems that were emitted within a specified time window.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, long time, @NonNull TimeUnit unit) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying all items that were emitted within a specified time window.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying all items that were emitted within a specified time window.Flowable.replay(@NonNull Function<? super Flowable<@NonNull T>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull R>> selector, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aFlowablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableFlowablethat shares a single subscription to the currentFlowable, replaying all items that were emitted within a specified time window.final @NonNull ConnectableObservable<T> Observable.replay()Returns aConnectableObservablethat shares a single subscription to the currentObservablethat will replay all of its items and notifications to any futureObserver.final @NonNull ConnectableObservable<T> Observable.replay(int bufferSize) Returns aConnectableObservablethat shares a single subscription to the currentObservablethat replays at mostbufferSizeitems emitted by the currentObservable.final @NonNull ConnectableObservable<T> Observable.replay(int bufferSize, boolean eagerTruncate) Returns aConnectableObservablethat shares a single subscription to the currentObservablethat replays at mostbufferSizeitems emitted by the currentObservable.final @NonNull ConnectableObservable<T> Returns aConnectableObservablethat shares a single subscription to the currentObservableand replays at mostbufferSizeitems that were emitted during a specified time window.final @NonNull ConnectableObservable<T> Returns aConnectableObservablethat shares a single subscription to the currentObservableand that replays a maximum ofbufferSizeitems that are emitted within a specified time window.final @NonNull ConnectableObservable<T> Observable.replay(int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aConnectableObservablethat shares a single subscription to the currentObservableand that replays a maximum ofbufferSizeitems that are emitted within a specified time window.final @NonNull ConnectableObservable<T> Returns aConnectableObservablethat shares a single subscription to the currentObservableand replays all items emitted by the currentObservablewithin a specified time window.final @NonNull ConnectableObservable<T> Returns aConnectableObservablethat shares a single subscription to the currentObservableand replays all items emitted by the currentObservablewithin a specified time window.final @NonNull ConnectableObservable<T> Observable.replay(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns aConnectableObservablethat shares a single subscription to the currentObservableand replays all items emitted by the currentObservablewithin a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector) Returns anObservablethat emits items that are the results of invoking a specified selector on the items emitted by aConnectableObservablethat shares a single subscription to the currentObservable.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, int bufferSize) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replayingbufferSizenotifications.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, int bufferSize, boolean eagerTruncate) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replayingbufferSizenotifications.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying no more thanbufferSizeitems that were emitted within a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying no more thanbufferSizeitems that were emitted within a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, int bufferSize, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying no more thanbufferSizeitems that were emitted within a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, long time, @NonNull TimeUnit unit) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying all items that were emitted within a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying all items that were emitted within a specified time window.final <@NonNull R>
@NonNull Observable<R> Observable.replay(@NonNull Function<? super Observable<@NonNull T>, ? extends ObservableSource<@NonNull R>> selector, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean eagerTruncate) Returns anObservablethat emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the currentObservable, replaying all items that were emitted within a specified time window.final @NonNull CompletableCompletable.retry()Returns aCompletablethat retries thisCompletableas long as it emits anonErrorevent.final @NonNull CompletableCompletable.retry(long times) Returns aCompletablethat when thisCompletableemits an error, retries at most the given number of times before giving up and emitting the last error.final @NonNull CompletableReturns aCompletablethat when thisCompletableemits an error, retries at most times or until the predicate returnsfalse, whichever happens first and emitting the last error.final @NonNull CompletableCompletable.retry(@NonNull BiPredicate<? super Integer, ? super Throwable> predicate) Returns aCompletablethat retries thisCompletablein case of an error as long as thepredicatereturnstrue.final @NonNull CompletableReturns aCompletablethat when thisCompletableemits an error, calls the given predicate with the latestThrowableto decide whether to resubscribe to the upstream or not.Flowable.retry()Returns aFlowablethat mirrors the currentFlowable, resubscribing to it if it callsonError(infinite retry count).Flowable.retry(long times) Returns aFlowablethat mirrors the currentFlowable, resubscribing to it if it callsonErrorup to a specified number of retries.Retries at most times or until the predicate returnsfalse, whichever happens first.Returns aFlowablethat mirrors the currentFlowable, resubscribing to it if it callsonErrorand the predicate returnstruefor that specific exception and retry count.Retries the currentFlowableif the predicate returnstrue.Maybe.retry()Returns aMaybethat mirrors the currentMaybe, resubscribing to it if it callsonError(infinite retry count).Maybe.retry(long times) Returns aMaybethat mirrors the currentMaybe, resubscribing to it if it callsonErrorup to a specified number of retries.Retries at mosttimesor until the predicate returnsfalse, whichever happens first.Maybe.retry(@NonNull BiPredicate<? super Integer, ? super Throwable> predicate) Returns aMaybethat mirrors the currentMaybe, resubscribing to it if it callsonErrorand the predicate returnstruefor that specific exception and retry count.Retries the currentMaybeif it fails and the predicate returnstrue.final @NonNull Observable<T> Observable.retry()Returns anObservablethat mirrors the currentObservable, resubscribing to it if it callsonError(infinite retry count).final @NonNull Observable<T> Observable.retry(long times) Returns anObservablethat mirrors the currentObservable, resubscribing to it if it callsonErrorup to a specified number of retries.final @NonNull Observable<T> Retries at most times or until the predicate returnsfalse, whichever happens first.final @NonNull Observable<T> Observable.retry(@NonNull BiPredicate<? super Integer, ? super Throwable> predicate) Returns anObservablethat mirrors the currentObservable, resubscribing to it if it callsonErrorand the predicate returnstruefor that specific exception and retry count.final @NonNull Observable<T> Retries the currentObservableif the predicate returnstrue.Single.retry()Repeatedly re-subscribes to the currentSingleindefinitely if it fails with anonError.Single.retry(long times) Repeatedly re-subscribe at most the specified times to the currentSingleif it fails with anonError.Repeatedly re-subscribe at most times or until the predicate returnsfalse, whichever happens first if it fails with anonError.Single.retry(@NonNull BiPredicate<? super Integer, ? super Throwable> predicate) Re-subscribe to the currentSingleif the given predicate returnstruewhen theSinglefails with anonError.Re-subscribe to the currentSingleif the given predicate returnstruewhen theSinglefails with anonError.final @NonNull CompletableCompletable.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.Flowable.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.Maybe.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.final @NonNull Observable<T> Observable.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.Single.retryUntil(@NonNull BooleanSupplier stop) Retries until the given stop function returnstrue.final @NonNull CompletableCompletable.retryWhen(@NonNull Function<? super Flowable<Throwable>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aCompletablewhich given aPublisherand when thisCompletableemits an error, delivers that error through aFlowableand thePublishershould signal a value indicating a retry in response or a terminal event indicating a termination.Flowable.retryWhen(@NonNull Function<? super Flowable<Throwable>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aFlowablethat emits the same values as the currentFlowablewith the exception of anonError.Maybe.retryWhen(@NonNull Function<? super Flowable<Throwable>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Returns aMaybethat emits the same values as the currentMaybewith the exception of anonError.final @NonNull Observable<T> Observable.retryWhen(@NonNull Function<? super Observable<Throwable>, ? extends ObservableSource<?>> handler) Returns anObservablethat emits the same values as the currentObservablewith the exception of anonError.Single.retryWhen(@NonNull Function<? super Flowable<Throwable>, @NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> handler) Re-subscribes to the currentSingleif and when thePublisherreturned by the handler function signals a value.final voidCompletable.safeSubscribe(@NonNull CompletableObserver observer) Wraps the givenCompletableObserver, catches anyRuntimeExceptions thrown by itsCompletableObserver.onSubscribe(Disposable),CompletableObserver.onError(Throwable)orCompletableObserver.onComplete()methods and routes those to the global error handler viaRxJavaPlugins.onError(Throwable).final voidFlowable.safeSubscribe(@NonNull org.reactivestreams.Subscriber<? super @NonNull T> subscriber) Subscribes to the currentFlowableand wraps the givenSubscriberinto aSafeSubscriber(if not already aSafeSubscriber) that deals with exceptions thrown by a misbehavingSubscriber(that doesn't follow the Reactive Streams specification).final voidMaybe.safeSubscribe(@NonNull MaybeObserver<? super @NonNull T> observer) Wraps the givenMaybeObserver, catches anyRuntimeExceptions thrown by itsMaybeObserver.onSubscribe(Disposable),MaybeObserver.onSuccess(Object),MaybeObserver.onError(Throwable)orMaybeObserver.onComplete()methods and routes those to the global error handler viaRxJavaPlugins.onError(Throwable).final voidObservable.safeSubscribe(@NonNull Observer<? super @NonNull T> observer) Subscribes to the currentObservableand wraps the givenObserverinto aSafeObserver(if not already aSafeObserver) that deals with exceptions thrown by a misbehavingObserver(that doesn't follow the Reactive Streams specification).final voidSingle.safeSubscribe(@NonNull SingleObserver<? super @NonNull T> observer) Wraps the givenSingleObserver, catches anyRuntimeExceptions thrown by itsSingleObserver.onSubscribe(Disposable),SingleObserver.onSuccess(Object)orSingleObserver.onError(Throwable)methods* and routes those to the global error handler viaRxJavaPlugins.onError(Throwable).Returns aFlowablethat emits the most recently emitted item (if any) emitted by the currentFlowablewithin periodic time intervals.Returns aFlowablethat emits the most recently emitted item (if any) emitted by the currentFlowablewithin periodic time intervals and optionally emit the very last upstream item when the upstream completes.Returns aFlowablethat emits the most recently emitted item (if any) emitted by the currentFlowablewithin periodic time intervals, where the intervals are defined on a particularScheduler.Flowable.sample(long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast) Returns aFlowablethat emits the most recently emitted item (if any) emitted by the currentFlowablewithin periodic time intervals, where the intervals are defined on a particularSchedulerand optionally emit the very last upstream item when the upstream completes.Flowable.sample(long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast, @NonNull Consumer<? super @NonNull T> onDropped) Returns aFlowablethat emits the most recently emitted item (if any) emitted by the currentFlowablewithin periodic time intervals, where the intervals are defined on a particularSchedulerand optionally emit the very last upstream item when the upstream completes.Returns aFlowablethat, when the specifiedsamplerPublisheremits an item or completes, emits the most recently emitted item (if any) emitted by the currentFlowablesince the previous emission from thesamplerPublisher.Returns aFlowablethat, when the specifiedsamplerPublisheremits an item or completes, emits the most recently emitted item (if any) emitted by the currentFlowablesince the previous emission from thesamplerPublisherand optionally emit the very last upstream item when the upstream or otherPublishercomplete.final @NonNull Observable<T> Returns anObservablethat emits the most recently emitted item (if any) emitted by the currentObservablewithin periodic time intervals.final @NonNull Observable<T> Returns anObservablethat emits the most recently emitted item (if any) emitted by the currentObservablewithin periodic time intervals and optionally emit the very last upstream item when the upstream completes.final @NonNull Observable<T> Returns anObservablethat emits the most recently emitted item (if any) emitted by the currentObservablewithin periodic time intervals, where the intervals are defined on a particularScheduler.final @NonNull Observable<T> Observable.sample(long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast) Returns anObservablethat emits the most recently emitted item (if any) emitted by the currentObservablewithin periodic time intervals, where the intervals are defined on a particularSchedulerand optionally emit the very last upstream item when the upstream completes.final @NonNull Observable<T> Observable.sample(long period, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast, @NonNull Consumer<? super @NonNull T> onDropped) Returns anObservablethat emits the most recently emitted item (if any) emitted by the currentObservablewithin periodic time intervals, where the intervals are defined on a particularScheduler.final <@NonNull U>
@NonNull Observable<T> Observable.sample(@NonNull ObservableSource<@NonNull U> sampler) Returns anObservablethat, when the specifiedsamplerObservableSourceemits an item or completes, emits the most recently emitted item (if any) emitted by the currentObservablesince the previous emission from thesamplerObservableSource.final <@NonNull U>
@NonNull Observable<T> Observable.sample(@NonNull ObservableSource<@NonNull U> sampler, boolean emitLast) Returns anObservablethat, when the specifiedsamplerObservableSourceemits an item or completes, emits the most recently emitted item (if any) emitted by the currentObservablesince the previous emission from thesamplerObservableSourceand optionally emit the very last upstream item when the upstream or otherObservableSourcecomplete.Returns aFlowablethat emits the first value emitted by the currentFlowable, then emits one value for each subsequent value emitted by the currentFlowable.Flowable.scan(@NonNull R initialValue, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> accumulator) Returns aFlowablethat emits the provided initial (seed) value, then emits one value for each value emitted by the currentFlowable.final @NonNull Observable<T> Returns anObservablethat emits the first value emitted by the currentObservable, then emits one value for each subsequent value emitted by the currentObservable.final <@NonNull R>
@NonNull Observable<R> Observable.scan(@NonNull R initialValue, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> accumulator) Returns anObservablethat emits the provided initial (seed) value, then emits one value for each value emitted by the currentObservable.Flowable.scanWith(@NonNull Supplier<@NonNull R> seedSupplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> accumulator) Returns aFlowablethat emits the provided initial (seed) value, then emits one value for each value emitted by the currentFlowable.final <@NonNull R>
@NonNull Observable<R> Observable.scanWith(@NonNull Supplier<@NonNull R> seedSupplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> accumulator) Returns anObservablethat emits the provided initial (seed) value, then emits one value for each value emitted by the currentObservable.Completable.sequenceEqual(@NonNull CompletableSource source1, @NonNull CompletableSource source2) Flowable.sequenceEqual(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2) Flowable.sequenceEqual(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, int bufferSize) Flowable.sequenceEqual(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> isEqual) Flowable.sequenceEqual(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> source2, @NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> isEqual, int bufferSize) Maybe.sequenceEqual(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2) Returns aSinglethat emits aBooleanvalue that indicates whether twoMaybeSourcesequences are the same by comparing the items emitted by eachMaybeSourcepairwise.Maybe.sequenceEqual(@NonNull MaybeSource<? extends @NonNull T> source1, @NonNull MaybeSource<? extends @NonNull T> source2, @NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> isEqual) Returns aSinglethat emits aBooleanvalue that indicates whether twoMaybeSources are the same by comparing the items emitted by eachMaybeSourcepairwise based on the results of a specified equality function.Observable.sequenceEqual(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2) Returns aSinglethat emits aBooleanvalue that indicates whether twoObservableSourcesequences are the same by comparing the items emitted by eachObservableSourcepairwise.Observable.sequenceEqual(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, int bufferSize) Returns aSinglethat emits aBooleanvalue that indicates whether twoObservableSourcesequences are the same by comparing the items emitted by eachObservableSourcepairwise.Observable.sequenceEqual(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> isEqual) Returns aSinglethat emits aBooleanvalue that indicates whether twoObservableSourcesequences are the same by comparing the items emitted by eachObservableSourcepairwise based on the results of a specified equality function.Observable.sequenceEqual(@NonNull ObservableSource<? extends @NonNull T> source1, @NonNull ObservableSource<? extends @NonNull T> source2, @NonNull BiPredicate<? super @NonNull T, ? super @NonNull T> isEqual, int bufferSize) Returns aSinglethat emits aBooleanvalue that indicates whether twoObservableSourcesequences are the same by comparing the items emitted by eachObservableSourcepairwise based on the results of a specified equality function.Single.sequenceEqual(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Compares twoSingleSources and emitstrueif they emit the same value (compared viaObject.equals(Object)).Flowable.serialize()Forces the currentFlowable's emissions and notifications to be serialized and for it to obey thePublishercontract in other ways.final @NonNull Observable<T> Observable.serialize()Forces the currentObservable's emissions and notifications to be serialized and for it to obey theObservableSourcecontract in other ways.Flowable.share()Returns a newFlowablethat multicasts (and shares a single subscription to) the currentFlowable.final @NonNull Observable<T> Observable.share()Returns a newObservablethat multicasts (and shares a single subscription to) the currentObservable.Returns aSinglethat emits the single item emitted by the currentFlowableif it emits only a single item, or a default item if the currentFlowableemits no items.Returns aSinglethat emits the single item emitted by the currentObservable, if the currentObservableemits only a single item, or a default item if the currentObservableemits no items.Flowable.singleElement()Returns aMaybethat completes if thisFlowableis empty, signals one item if thisFlowablesignals exactly one item or signals anIllegalArgumentExceptionif thisFlowablesignals more than one item.Observable.singleElement()Returns aMaybethat completes if the currentObservableis empty or emits the single item emitted by the currentObservable, or signals anIllegalArgumentExceptionif the currentObservableemits more than one item.Flowable.singleOrError()Returns aSinglethat emits the single item emitted by thisFlowable, if thisFlowableemits only a single item, otherwise if thisFlowablecompletes without emitting any items aNoSuchElementExceptionwill be signaled and if thisFlowableemits more than one item, anIllegalArgumentExceptionwill be signaled.Observable.singleOrError()Returns aSinglethat emits the single item emitted by the currentObservableif it emits only a single item, otherwise if the currentObservablecompletes without emitting any items or emits more than one item aNoSuchElementExceptionorIllegalArgumentExceptionwill be signaled respectively.final @NonNull CompletionStage<T> Flowable.singleOrErrorStage()Signals the only expected upstream item, aNoSuchElementExceptionif the upstream is empty or signalsIllegalArgumentExceptionif the upstream has more than one item via aCompletionStage.final @NonNull CompletionStage<T> Observable.singleOrErrorStage()Signals the only expected upstream item, aNoSuchElementExceptionif the upstream is empty or signalsIllegalArgumentExceptionif the upstream has more than one item via aCompletionStage.final @NonNull CompletionStage<T> Flowable.singleStage(@NonNull T defaultItem) Signals the only expected upstream item (or the default item if the upstream is empty) or signalsIllegalArgumentExceptionif the upstream has more than one item via aCompletionStage.final @NonNull CompletionStage<T> Observable.singleStage(@NonNull T defaultItem) Signals the only expected upstream item (or the default item if the upstream is empty) or signalsIllegalArgumentExceptionif the upstream has more than one item via aCompletionStage.Flowable.skip(long count) Returns aFlowablethat skips the firstcountitems emitted by the currentFlowableand emits the remainder.Returns aFlowablethat skips values emitted by the currentFlowablebefore a specified time window elapses.Returns aFlowablethat skips values emitted by the currentFlowablebefore a specified time window on a specifiedSchedulerelapses.final @NonNull Observable<T> Observable.skip(long count) Returns anObservablethat skips the firstcountitems emitted by the currentObservableand emits the remainder.final @NonNull Observable<T> Returns anObservablethat skips values emitted by the currentObservablebefore a specified time window elapses.final @NonNull Observable<T> Returns anObservablethat skips values emitted by the currentObservablebefore a specified time window on a specifiedSchedulerelapses.Flowable.skipLast(int count) Returns aFlowablethat drops a specified number of items from the end of the sequence emitted by the currentFlowable.Returns aFlowablethat drops items emitted by the currentFlowableduring a specified time window before the source completes.Returns aFlowablethat drops items emitted by the currentFlowableduring a specified time window before the source completes.Returns aFlowablethat drops items emitted by the currentFlowableduring a specified time window (defined on a specified scheduler) before the source completes.Flowable.skipLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns aFlowablethat drops items emitted by the currentFlowableduring a specified time window (defined on a specified scheduler) before the source completes.Flowable.skipLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns aFlowablethat drops items emitted by the currentFlowableduring a specified time window (defined on a specified scheduler) before the source completes.final @NonNull Observable<T> Observable.skipLast(int count) Returns anObservablethat drops a specified number of items from the end of the sequence emitted by the currentObservable.final @NonNull Observable<T> Returns anObservablethat drops items emitted by the currentObservableduring a specified time window before the source completes.final @NonNull Observable<T> Returns anObservablethat drops items emitted by the currentObservableduring a specified time window before the source completes.final @NonNull Observable<T> Returns anObservablethat drops items emitted by the currentObservableduring a specified time window (defined on a specified scheduler) before the source completes.final @NonNull Observable<T> Observable.skipLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns anObservablethat drops items emitted by the currentObservableduring a specified time window (defined on a specified scheduler) before the source completes.final @NonNull Observable<T> Observable.skipLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns anObservablethat drops items emitted by the currentObservableduring a specified time window (defined on a specified scheduler) before the source completes.Returns aFlowablethat skips items emitted by the currentFlowableuntil a secondPublisheremits an item.final <@NonNull U>
@NonNull Observable<T> Observable.skipUntil(@NonNull ObservableSource<@NonNull U> other) Returns anObservablethat skips items emitted by the currentObservableuntil a secondObservableSourceemits an item.Returns aFlowablethat skips all items emitted by the currentFlowableas long as a specified condition holdstrue, but emits all further source items as soon as the condition becomesfalse.final @NonNull Observable<T> Returns anObservablethat skips all items emitted by the currentObservableas long as a specified condition holdstrue, but emits all further source items as soon as the condition becomesfalse.Flowable.sorted()Returns aFlowablethat emits the events emitted by sourcePublisher, in a sorted order.Returns aFlowablethat emits the events emitted by sourcePublisher, in a sorted order based on a specified comparison function.final @NonNull Observable<T> Observable.sorted()Returns anObservablethat emits the events emitted by the currentObservable, in a sorted order.final @NonNull Observable<T> Observable.sorted(@NonNull Comparator<? super @NonNull T> comparator) Returns anObservablethat emits the events emitted by the currentObservable, in a sorted order based on a specified comparison function.final @NonNull CompletableCompletable.startWith(@NonNull CompletableSource other) Returns aCompletablewhich first runs the otherCompletableSourcethen the currentCompletableif the other completed normally.Completable.startWith(@NonNull MaybeSource<@NonNull T> other) Returns aFlowablewhich first runs the otherMaybeSourcethen the currentCompletableif the other succeeded or completed normally.final <@NonNull T>
@NonNull Observable<T> Completable.startWith(@NonNull ObservableSource<@NonNull T> other) Returns anObservablewhich first delivers the events of the otherObservableSourcethen runs the currentCompletable.Completable.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentCompletableif the other succeeded normally.Returns aFlowablewhich first delivers the events of the otherPublisherthen runs the currentCompletable.Flowable.startWith(@NonNull CompletableSource other) Returns aFlowablewhich first runs the otherCompletableSourcethen the currentFlowableif the other completed normally.Flowable.startWith(@NonNull MaybeSource<@NonNull T> other) Returns aFlowablewhich first runs the otherMaybeSourcethen the currentFlowableif the other succeeded or completed normally.Flowable.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentFlowableif the other succeeded normally.Returns aFlowablethat emits the items in a specifiedPublisherbefore it begins to emit items emitted by the currentFlowable.Maybe.startWith(@NonNull CompletableSource other) Returns aFlowablewhich first runs the otherCompletableSourcethen the currentMaybeif the other completed normally.Maybe.startWith(@NonNull MaybeSource<@NonNull T> other) Returns aFlowablewhich first runs the otherMaybeSourcethen the currentMaybeif the other succeeded or completed normally.final @NonNull Observable<T> Maybe.startWith(@NonNull ObservableSource<@NonNull T> other) Returns anObservablewhich first delivers the events of the otherObservableSourcethen runs the currentMaybe.Maybe.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentMaybeif the other succeeded normally.Returns aFlowablewhich first delivers the events of the otherPublisherthen runs the currentMaybe.final @NonNull Observable<T> Observable.startWith(@NonNull CompletableSource other) Returns anObservablewhich first runs the otherCompletableSourcethen the currentObservableif the other completed normally.final @NonNull Observable<T> Observable.startWith(@NonNull MaybeSource<@NonNull T> other) Returns anObservablewhich first runs the otherMaybeSourcethen the currentObservableif the other succeeded or completed normally.final @NonNull Observable<T> Observable.startWith(@NonNull ObservableSource<? extends @NonNull T> other) Returns anObservablethat emits the items in a specifiedObservableSourcebefore it begins to emit items emitted by the currentObservable.final @NonNull Observable<T> Observable.startWith(@NonNull SingleSource<@NonNull T> other) Returns anObservablewhich first runs the otherSingleSourcethen the currentObservableif the other succeeded normally.Single.startWith(@NonNull CompletableSource other) Returns aFlowablewhich first runs the otherCompletableSourcethen the currentSingleif the other completed normally.Single.startWith(@NonNull MaybeSource<@NonNull T> other) Returns aFlowablewhich first runs the otherMaybeSourcethen the currentSingleif the other succeeded or completed normally.final @NonNull Observable<T> Single.startWith(@NonNull ObservableSource<@NonNull T> other) Returns anObservablewhich first delivers the events of the otherObservableSourcethen runs the currentSingle.Single.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentSingleif the other succeeded normally.Returns aFlowablewhich first delivers the events of the otherPublisherthen runs the currentSingle.Flowable.startWithArray(@NonNull T... items) Returns aFlowablethat emits the specified items before it begins to emit items emitted by the currentFlowable.final @NonNull Observable<T> Observable.startWithArray(@NonNull T... items) Returns anObservablethat emits the specified items before it begins to emit items emitted by the currentObservable.Flowable.startWithItem(@NonNull T item) Returns aFlowablethat emits a specified item before it begins to emit items emitted by the currentFlowable.final @NonNull Observable<T> Observable.startWithItem(@NonNull T item) Returns anObservablethat emits a specified item before it begins to emit items emitted by the currentObservable.Flowable.startWithIterable(@NonNull Iterable<? extends @NonNull T> items) Returns aFlowablethat emits the items in a specifiedIterablebefore it begins to emit items emitted by the currentFlowable.final @NonNull Observable<T> Observable.startWithIterable(@NonNull Iterable<? extends @NonNull T> items) Returns anObservablethat emits the items in a specifiedIterablebefore it begins to emit items emitted by the currentObservable.final @NonNull DisposableCompletable.subscribe()Subscribes to thisCompletableand returns aDisposablewhich can be used to dispose the subscription.final voidCompletable.subscribe(@NonNull CompletableObserver observer) final @NonNull Disposablefinal @NonNull DisposableSubscribes to thisCompletableand calls back either theonErrororonCompletefunctions.final @NonNull DisposableCompletable.subscribe(@NonNull Action onComplete, @NonNull Consumer<? super Throwable> onError, @NonNull DisposableContainer container) Wraps the given onXXX callbacks into aDisposableCompletableObserver, adds it to the givenDisposableContainerand ensures, that if the upstream terminates or this particularDisposableis disposed, theCompletableObserveris removed from the given composite.final @NonNull DisposableFlowable.subscribe()Subscribes to the currentFlowableand ignoresonNextandonCompleteemissions.final voidFlowable.subscribe(@NonNull FlowableSubscriber<? super @NonNull T> subscriber) Establish a connection between thisFlowableand the givenFlowableSubscriberand start streaming events based on the demand of theFlowableSubscriber.final @NonNull DisposableSubscribes to the currentFlowableand provides a callback to handle the items it emits.final @NonNull DisposableFlowable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentFlowableand provides callbacks to handle the items it emits and any error notification it issues.final @NonNull DisposableFlowable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the currentFlowableand provides callbacks to handle the items it emits and any error or completion notification it issues.final @NonNull DisposableFlowable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete, @NonNull DisposableContainer container) Wraps the given onXXX callbacks into aDisposableSubscriber, adds it to the givenDisposableContainerand ensures, that if the upstream terminates or this particularDisposableis disposed, theSubscriberis removed from the given container.final voidfinal @NonNull DisposableMaybe.subscribe()Subscribes to aMaybeand ignoresonSuccessandonCompleteemissions.final voidMaybe.subscribe(@NonNull MaybeObserver<? super @NonNull T> observer) final @NonNull DisposableSubscribes to aMaybeand provides a callback to handle the items it emits.final @NonNull DisposableMaybe.subscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError) Subscribes to aMaybeand provides callbacks to handle the items it emits and any error notification it issues.final @NonNull DisposableMaybe.subscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to aMaybeand provides callbacks to handle the items it emits and any error or completion notification it issues.final @NonNull DisposableMaybe.subscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete, @NonNull DisposableContainer container) Wraps the given onXXX callbacks into aDisposableMaybeObserver, adds it to the givenDisposableContainerand ensures, that if the upstream terminates or this particularDisposableis disposed, theMaybeObserveris removed from the given composite.final @NonNull DisposableObservable.subscribe()Subscribes to the currentObservableand ignoresonNextandonCompleteemissions.final voidfinal @NonNull DisposableSubscribes to the currentObservableand provides a callback to handle the items it emits.final @NonNull DisposableObservable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError) Subscribes to the currentObservableand provides callbacks to handle the items it emits and any error notification it signals.final @NonNull DisposableObservable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete) Subscribes to the currentObservableand provides callbacks to handle the items it emits and any error or completion notification it signals.final @NonNull DisposableObservable.subscribe(@NonNull Consumer<? super @NonNull T> onNext, @NonNull Consumer<? super Throwable> onError, @NonNull Action onComplete, @NonNull DisposableContainer container) Wraps the given onXXX callbacks into aDisposableObserver, adds it to the givenDisposableContainerand ensures, that if the upstream terminates or this particularDisposableis disposed, theObserveris removed from the given container.final @NonNull DisposableSingle.subscribe()Subscribes to aSinglebut ignore its emission or notification.final voidSingle.subscribe(@NonNull SingleObserver<? super @NonNull T> observer) final @NonNull DisposableSingle.subscribe(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onCallback) Subscribes to aSingleand provides a composite callback to handle the item it emits or any error notification it issues.final @NonNull DisposableSubscribes to aSingleand provides a callback to handle the item it emits.final @NonNull DisposableSingle.subscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError) Subscribes to aSingleand provides callbacks to handle the item it emits or any error notification it issues.final @NonNull DisposableSingle.subscribe(@NonNull Consumer<? super @NonNull T> onSuccess, @NonNull Consumer<? super Throwable> onError, @NonNull DisposableContainer container) Wraps the given onXXX callbacks into aDisposableSingleObserver, adds it to the givenDisposableContainerand ensures, that if the upstream terminates or this particularDisposableis disposed, theSingleObserveris removed from the given container.final @NonNull CompletableCompletable.subscribeOn(@NonNull Scheduler scheduler) Returns aCompletablewhich subscribes the downstream subscriber on the specified scheduler, making sure the subscription side-effects happen on that specific thread of theScheduler.Flowable.subscribeOn(@NonNull Scheduler scheduler) Flowable.subscribeOn(@NonNull Scheduler scheduler, boolean requestOn) Asynchronously subscribesSubscribers to the currentFlowableon the specifiedScheduleroptionally reroutes requests from other threads to the sameSchedulerthread.Maybe.subscribeOn(@NonNull Scheduler scheduler) Asynchronously subscribes subscribers to thisMaybeon the specifiedScheduler.final @NonNull Observable<T> Observable.subscribeOn(@NonNull Scheduler scheduler) Single.subscribeOn(@NonNull Scheduler scheduler) final <@NonNull E extends CompletableObserver>
ECompletable.subscribeWith(@NonNull E observer) Subscribes a givenCompletableObserver(subclass) to thisCompletableand returns the givenCompletableObserveras is.Flowable.subscribeWith(@NonNull E subscriber) Subscribes a givenSubscriber(subclass) to thisFlowableand returns the givenSubscriberas is.final <@NonNull E extends MaybeObserver<? super @NonNull T>>
EMaybe.subscribeWith(@NonNull E observer) Subscribes a givenMaybeObserver(subclass) to thisMaybeand returns the givenMaybeObserveras is.Observable.subscribeWith(@NonNull E observer) Subscribes a givenObserver(subclass) to the currentObservableand returns the givenObserverinstance as is.final <@NonNull E extends SingleObserver<? super @NonNull T>>
ESingle.subscribeWith(@NonNull E observer) Subscribes a givenSingleObserver(subclass) to thisSingleand returns the givenSingleObserveras is.Flowable.switchIfEmpty(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> other) Returns aFlowablethat emits the items emitted by the currentFlowableor the items of an alternatePublisherif the currentFlowableis empty.Maybe.switchIfEmpty(@NonNull MaybeSource<? extends @NonNull T> other) Returns aMaybethat emits the items emitted by the currentMaybeor the items of an alternateMaybeSourceif the currentMaybeis empty.Maybe.switchIfEmpty(@NonNull SingleSource<? extends @NonNull T> other) Returns aSinglethat emits the items emitted by the currentMaybeor the item of an alternateSingleSourceif the currentMaybeis empty.final @NonNull Observable<T> Observable.switchIfEmpty(@NonNull ObservableSource<? extends @NonNull T> other) Returns anObservablethat emits the items emitted by the currentObservableor the items of an alternateObservableSourceif the currentObservableis empty.Flowable.switchMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns a newFlowableby applying a function that you supply to each item emitted by the currentFlowablethat returns aPublisher, and then emitting the items emitted by the most recently emitted of thesePublishers.Flowable.switchMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int bufferSize) Returns a newFlowableby applying a function that you supply to each item emitted by the currentFlowablethat returns aPublisher, and then emitting the items emitted by the most recently emitted of thesePublishers.final <@NonNull R>
@NonNull Observable<R> Observable.switchMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns anObservableSource, and then emitting the items emitted by the most recently emitted of theseObservableSources.final <@NonNull R>
@NonNull Observable<R> Observable.switchMap(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int bufferSize) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns anObservableSource, and then emitting the items emitted by the most recently emitted of theseObservableSources.final @NonNull CompletableFlowable.switchMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning.final @NonNull CompletableObservable.switchMapCompletable(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the items of the currentObservableintoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning.final @NonNull CompletableFlowable.switchMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning and delaying any main or inner errors until all of them terminate.final @NonNull CompletableObservable.switchMapCompletableDelayError(@NonNull Function<? super @NonNull T, ? extends CompletableSource> mapper) Maps the upstream values intoCompletableSources, subscribes to the newer one while disposing the subscription to the previousCompletableSource, thus keeping at most one activeCompletableSourcerunning and delaying any main or inner errors until all of them terminate.Flowable.switchMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Returns a newFlowableby applying a function that you supply to each item emitted by the currentFlowablethat returns aPublisher, and then emitting the items emitted by the most recently emitted of thesePublishers and delays any error until allPublishers terminate.Flowable.switchMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int bufferSize) Returns a newFlowableby applying a function that you supply to each item emitted by the currentFlowablethat returns aPublisher, and then emitting the items emitted by the most recently emitted of thesePublishers and delays any error until allPublishers terminate.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns anObservableSource, and then emitting the items emitted by the most recently emitted of theseObservableSources and delays any error until allObservableSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapDelayError(@NonNull Function<? super @NonNull T, ? extends ObservableSource<? extends @NonNull R>> mapper, int bufferSize) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns anObservableSource, and then emitting the items emitted by the most recently emitted of theseObservableSources and delays any error until allObservableSources terminate.Flowable.switchMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one if available while failing immediately if thisFlowableor any of the active innerMaybeSources fail.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapMaybe(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the items of the currentObservableintoMaybeSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one if available while failing immediately if the currentObservableor any of the active innerMaybeSources fail.Flowable.switchMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one if available, delaying errors from thisFlowableor the innerMaybeSources until all terminate.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapMaybeDelayError(@NonNull Function<? super @NonNull T, ? extends MaybeSource<? extends @NonNull R>> mapper) Maps the upstream items intoMaybeSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one if available, delaying errors from the currentObservableor the innerMaybeSources until all terminate.Flowable.switchMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one while failing immediately if thisFlowableor any of the active innerSingleSources fail.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns aSingleSource, and then emitting the item emitted by the most recently emitted of theseSingleSources.Flowable.switchMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one, delaying errors from thisFlowableor the innerSingleSources until all terminate.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns aSingleSource, and then emitting the item emitted by the most recently emitted of theseSingleSources and delays any error until allSingleSources terminate.static @NonNull CompletableCompletable.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Switches betweenCompletableSources emitted by the sourcePublisherwhenever a newCompletableSourceis emitted, disposing the previously runningCompletableSource, exposing the setup as aCompletablesequence.Flowable.switchOnNext(@NonNull org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int bufferSize) Converts aPublisherthat emitsPublishers into aPublisherthat emits the items emitted by the most recently emitted of thosePublishers.Flowable.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Converts aPublisherthat emitsPublishers into aPublisherthat emits the items emitted by the most recently emitted of thosePublishers.Maybe.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Switches betweenMaybeSources emitted by the sourcePublisherwhenever a newMaybeSourceis emitted, disposing the previously runningMaybeSource, exposing the success items as aFlowablesequence.static <@NonNull T>
@NonNull Observable<T> Observable.switchOnNext(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Converts anObservableSourcethat emitsObservableSources into anObservablethat emits the items emitted by the most recently emitted of thoseObservableSources.static <@NonNull T>
@NonNull Observable<T> Observable.switchOnNext(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int bufferSize) Converts anObservableSourcethat emitsObservableSources into anObservablethat emits the items emitted by the most recently emitted of thoseObservableSources.Single.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Switches betweenSingleSources emitted by the sourcePublisherwhenever a newSingleSourceis emitted, disposing the previously runningSingleSource, exposing the success items as aFlowablesequence.static @NonNull CompletableCompletable.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends CompletableSource> sources) Switches betweenCompletableSources emitted by the sourcePublisherwhenever a newCompletableSourceis emitted, disposing the previously runningCompletableSource, exposing the setup as aCompletablesequence and delaying all errors from all of them until all terminate.Flowable.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources) Converts aPublisherthat emitsPublishers into aPublisherthat emits the items emitted by the most recently emitted of thosePublishers and delays any exception until allPublishers terminate.Flowable.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, int prefetch) Converts aPublisherthat emitsPublishers into aPublisherthat emits the items emitted by the most recently emitted of thosePublishers and delays any exception until allPublishers terminate.Maybe.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources) Switches betweenMaybeSources emitted by the sourcePublisherwhenever a newMaybeSourceis emitted, disposing the previously runningMaybeSource, exposing the success items as aFlowablesequence and delaying all errors from all of them until all terminate.static <@NonNull T>
@NonNull Observable<T> Observable.switchOnNextDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources) Converts anObservableSourcethat emitsObservableSources into anObservablethat emits the items emitted by the most recently emitted of thoseObservableSources and delays any exception until allObservableSources terminate.static <@NonNull T>
@NonNull Observable<T> Observable.switchOnNextDelayError(@NonNull ObservableSource<? extends ObservableSource<? extends @NonNull T>> sources, int bufferSize) Converts anObservableSourcethat emitsObservableSources into anObservablethat emits the items emitted by the most recently emitted of thoseObservableSources and delays any exception until allObservableSources terminate.Single.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Switches betweenSingleSources emitted by the sourcePublisherwhenever a newSingleSourceis emitted, disposing the previously runningSingleSource, exposing the success items as aFlowablesequence and delaying all errors from all of them until all terminate.Flowable.take(long count) Returns aFlowablethat emits only the firstcountitems emitted by the currentFlowable.Returns aFlowablethat emits those items emitted by sourcePublisherbefore a specified time runs out.Returns aFlowablethat emits those items emitted by sourcePublisherbefore a specified time (on a specifiedScheduler) runs out.final @NonNull Observable<T> Observable.take(long count) Returns anObservablethat emits only the firstcountitems emitted by the currentObservable.final @NonNull Observable<T> Returns anObservablethat emits those items emitted by the currentObservablebefore a specified time runs out.final @NonNull Observable<T> Returns anObservablethat emits those items emitted by the currentObservablebefore a specified time (on a specifiedScheduler) runs out.Flowable.takeLast(int count) Returns aFlowablethat emits at most the lastcountitems emitted by the currentFlowable.Returns aFlowablethat emits at most a specified number of items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted.Returns aFlowablethat emits at most a specified number of items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted, where the timing information is provided by a givenScheduler.Flowable.takeLast(long count, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns aFlowablethat emits at most a specified number of items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted, where the timing information is provided by a givenScheduler.Returns aFlowablethat emits the items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted.Returns aFlowablethat emits the items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted.Returns aFlowablethat emits the items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted, where the timing information is provided by a specifiedScheduler.Flowable.takeLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns aFlowablethat emits the items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted, where the timing information is provided by a specifiedScheduler.Flowable.takeLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns aFlowablethat emits the items from the currentFlowablethat were emitted in a specified window of time before the currentFlowablecompleted, where the timing information is provided by a specifiedScheduler.final @NonNull Observable<T> Observable.takeLast(int count) Returns anObservablethat emits at most the lastcountitems emitted by the currentObservable.final @NonNull Observable<T> Returns anObservablethat emits at most a specified number of items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted.final @NonNull Observable<T> Returns anObservablethat emits at most a specified number of items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted, where the timing information is provided by a givenScheduler.final @NonNull Observable<T> Observable.takeLast(long count, long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns anObservablethat emits at most a specified number of items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted, where the timing information is provided by a givenScheduler.final @NonNull Observable<T> Returns anObservablethat emits the items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted.final @NonNull Observable<T> Returns anObservablethat emits the items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted.final @NonNull Observable<T> Returns anObservablethat emits the items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted, where the timing information is provided by a specifiedScheduler.final @NonNull Observable<T> Observable.takeLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError) Returns anObservablethat emits the items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted, where the timing information is provided by a specifiedScheduler.final @NonNull Observable<T> Observable.takeLast(long time, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean delayError, int bufferSize) Returns anObservablethat emits the items from the currentObservablethat were emitted in a specified window of time before the currentObservablecompleted, where the timing information is provided by a specifiedScheduler.final @NonNull CompletableCompletable.takeUntil(@NonNull CompletableSource other) Terminates the downstream if this or the otherCompletableterminates (wins the termination race) while disposing the connection to the losing source.Returns aFlowablethat emits items emitted by the currentFlowable, checks the specified predicate for each item, and then completes when the condition is satisfied.Returns aFlowablethat emits the items emitted by the currentFlowableuntil a secondPublisheremits an item or completes.Maybe.takeUntil(@NonNull MaybeSource<@NonNull U> other) Returns aMaybethat emits the items emitted by the currentMaybeuntil a secondMaybeSourceemits an item.Returns aMaybethat emits the item emitted by the currentMaybeuntil a secondPublisheremits an item.final <@NonNull U>
@NonNull Observable<T> Observable.takeUntil(@NonNull ObservableSource<@NonNull U> other) Returns anObservablethat emits the items emitted by the currentObservableuntil a secondObservableSourceemits an item or completes.final @NonNull Observable<T> Returns anObservablethat emits items emitted by the currentObservable, checks the specified predicate for each item, and then completes when the condition is satisfied.Single.takeUntil(@NonNull CompletableSource other) Returns aSinglethat emits the item emitted by the currentSingleuntil aCompletableSourceterminates.Single.takeUntil(@NonNull SingleSource<? extends @NonNull E> other) Returns aSinglethat emits the item emitted by the currentSingleuntil a secondSingleemits an item.Returns aSinglethat emits the item emitted by the currentSingleuntil aPublisheremits an item or completes.Returns aFlowablethat emits items emitted by the currentFlowableso long as each item satisfied a specified condition, and then completes as soon as this condition is not satisfied.final @NonNull Observable<T> Returns anObservablethat emits items emitted by the currentObservableso long as each item satisfied a specified condition, and then completes as soon as this condition is not satisfied.final @NonNull TestObserver<Void> Completable.test()Creates aTestObserverand subscribes it to thisCompletable.final @NonNull TestObserver<Void> Completable.test(boolean dispose) Creates aTestObserveroptionally in cancelled state, then subscribes it to thisCompletable.final @NonNull TestSubscriber<T> Flowable.test()final @NonNull TestSubscriber<T> Flowable.test(long initialRequest) Creates aTestSubscriberwith the given initial request amount and subscribes it to thisFlowable.final @NonNull TestSubscriber<T> Flowable.test(long initialRequest, boolean cancel) Creates aTestSubscriberwith the given initial request amount, optionally cancels it before the subscription and subscribes it to thisFlowable.final @NonNull TestObserver<T> Maybe.test()Creates aTestObserverand subscribes it to thisMaybe.final @NonNull TestObserver<T> Maybe.test(boolean dispose) Creates aTestObserveroptionally in cancelled state, then subscribes it to thisMaybe.final @NonNull TestObserver<T> Observable.test()Creates aTestObserverand subscribes it to the currentObservable.final @NonNull TestObserver<T> Observable.test(boolean dispose) Creates aTestObserver, optionally disposes it and then subscribes it to the currentObservable.final @NonNull TestObserver<T> Single.test()Creates aTestObserverand subscribes it to thisSingle.final @NonNull TestObserver<T> Single.test(boolean dispose) Creates aTestObserveroptionally in cancelled state, then subscribes it to thisSingle.Flowable.throttleFirst(long windowDuration, @NonNull TimeUnit unit) Returns aFlowablethat emits only the first item emitted by the currentFlowableduring sequential time windows of a specified duration.Flowable.throttleFirst(long skipDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits only the first item emitted by the currentFlowableduring sequential time windows of a specified duration, where the windows are managed by a specifiedScheduler.Flowable.throttleFirst(long skipDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns aFlowablethat emits only the first item emitted by the currentFlowableduring sequential time windows of a specified duration, where the windows are managed by a specifiedScheduler.final @NonNull Observable<T> Observable.throttleFirst(long windowDuration, @NonNull TimeUnit unit) Returns anObservablethat emits only the first item emitted by the currentObservableduring sequential time windows of a specified duration.final @NonNull Observable<T> Observable.throttleFirst(long skipDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits only the first item emitted by the currentObservableduring sequential time windows of a specified duration, where the windows are managed by a specifiedScheduler.final @NonNull Observable<T> Observable.throttleFirst(long skipDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns anObservablethat emits only the first item emitted by the currentObservableduring sequential time windows of a specified duration, where the windows are managed by a specifiedScheduler.Flowable.throttleLast(long intervalDuration, @NonNull TimeUnit unit) Returns aFlowablethat emits only the last item emitted by the currentFlowableduring sequential time windows of a specified duration.Flowable.throttleLast(long intervalDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits only the last item emitted by the currentFlowableduring sequential time windows of a specified duration, where the duration is governed by a specifiedScheduler.Flowable.throttleLast(long intervalDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns aFlowablethat emits only the last item emitted by the currentFlowableduring sequential time windows of a specified duration, where the duration is governed by a specifiedScheduler.final @NonNull Observable<T> Observable.throttleLast(long intervalDuration, @NonNull TimeUnit unit) Returns anObservablethat emits only the last item emitted by the currentObservableduring sequential time windows of a specified duration.final @NonNull Observable<T> Observable.throttleLast(long intervalDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits only the last item emitted by the currentObservableduring sequential time windows of a specified duration, where the duration is governed by a specifiedScheduler.final @NonNull Observable<T> Observable.throttleLast(long intervalDuration, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns anObservablethat emits only the last item emitted by the currentObservableduring sequential time windows of a specified duration, where the duration is governed by a specifiedScheduler.Flowable.throttleLatest(long timeout, @NonNull TimeUnit unit) Throttles items from the upstreamFlowableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.Flowable.throttleLatest(long timeout, @NonNull TimeUnit unit, boolean emitLast) Throttles items from the upstreamFlowableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.Flowable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Throttles items from the upstreamFlowableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.Flowable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast) Throttles items from the upstreamFlowableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.Flowable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast, @NonNull Consumer<? super @NonNull T> onDropped) Throttles items from the upstreamFlowableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them, invoking the consumer for any dropped item.final @NonNull Observable<T> Observable.throttleLatest(long timeout, @NonNull TimeUnit unit) Throttles items from the currentObservableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.final @NonNull Observable<T> Observable.throttleLatest(long timeout, @NonNull TimeUnit unit, boolean emitLast) Throttles items from the currentObservableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.final @NonNull Observable<T> Observable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Throttles items from the currentObservableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.final @NonNull Observable<T> Observable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast) Throttles items from the currentObservableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them.final @NonNull Observable<T> Observable.throttleLatest(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, boolean emitLast, @NonNull Consumer<? super @NonNull T> onDropped) Throttles items from the currentObservableby first emitting the next item from upstream, then periodically emitting the latest item (if any) when the specified timeout elapses between them, invoking the consumer for any dropped item.Flowable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit) Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires.Flowable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires on a specifiedScheduler.Flowable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns aFlowablethat mirrors the currentFlowable, except that it drops items emitted by the currentFlowablethat are followed by newer items before a timeout value expires on a specifiedScheduler.final @NonNull Observable<T> Observable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit) Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires.final @NonNull Observable<T> Observable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires on a specifiedScheduler.final @NonNull Observable<T> Observable.throttleWithTimeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull Consumer<? super @NonNull T> onDropped) Returns anObservablethat mirrors the currentObservable, except that it drops items emitted by the currentObservablethat are followed by newer items before a timeout value expires on a specifiedScheduler.Flowable.timeInterval()Returns aFlowablethat emits records of the time interval between consecutive items emitted by the currentFlowable.Flowable.timeInterval(@NonNull Scheduler scheduler) Returns aFlowablethat emits records of the time interval between consecutive items emitted by the currentFlowable, where this interval is computed on a specifiedScheduler.Flowable.timeInterval(@NonNull TimeUnit unit) Returns aFlowablethat emits records of the time interval between consecutive items emitted by the currentFlowable.Flowable.timeInterval(@NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns aFlowablethat emits records of the time interval between consecutive items emitted by the currentFlowable, where this interval is computed on a specifiedScheduler.Maybe.timeInterval()Measures the time (in milliseconds) between the subscription and success item emission of the currentMaybeand signals it as a tuple (Timed) success value.Maybe.timeInterval(@NonNull Scheduler scheduler) Measures the time (in milliseconds) between the subscription and success item emission of the currentMaybeand signals it as a tuple (Timed) success value.Maybe.timeInterval(@NonNull TimeUnit unit) Measures the time between the subscription and success item emission of the currentMaybeand signals it as a tuple (Timed) success value.Maybe.timeInterval(@NonNull TimeUnit unit, @NonNull Scheduler scheduler) Measures the time between the subscription and success item emission of the currentMaybeand signals it as a tuple (Timed) success value.final @NonNull Observable<Timed<T>> Observable.timeInterval()Returns anObservablethat emits records of the time interval between consecutive items emitted by the currentObservable.final @NonNull Observable<Timed<T>> Observable.timeInterval(@NonNull Scheduler scheduler) Returns anObservablethat emits records of the time interval between consecutive items emitted by the currentObservable, where this interval is computed on a specifiedScheduler.final @NonNull Observable<Timed<T>> Observable.timeInterval(@NonNull TimeUnit unit) Returns anObservablethat emits records of the time interval between consecutive items emitted by the currentObservable.final @NonNull Observable<Timed<T>> Observable.timeInterval(@NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits records of the time interval between consecutive items emitted by the currentObservable, where this interval is computed on a specifiedScheduler.Single.timeInterval()Measures the time (in milliseconds) between the subscription and success item emission of the currentSingleand signals it as a tuple (Timed) success value.Single.timeInterval(@NonNull Scheduler scheduler) Measures the time (in milliseconds) between the subscription and success item emission of the currentSingleand signals it as a tuple (Timed) success value.Single.timeInterval(@NonNull TimeUnit unit) Measures the time between the subscription and success item emission of the currentSingleand signals it as a tuple (Timed) success value.Single.timeInterval(@NonNull TimeUnit unit, @NonNull Scheduler scheduler) Measures the time between the subscription and success item emission of the currentSingleand signals it as a tuple (Timed) success value.final @NonNull CompletableReturns aCompletable that runs thisCompletableand emits aTimeoutExceptionin case thisCompletabledoesn't complete within the given time.final @NonNull CompletableCompletable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull CompletableSource fallback) Returns aCompletablethat runs thisCompletableand switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time.final @NonNull CompletableReturns aCompletablethat runs thisCompletableand emits aTimeoutExceptionin case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.final @NonNull CompletableCompletable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull CompletableSource fallback) Returns aCompletablethat runs thisCompletableand switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.Returns aFlowablethat mirrors the currentFlowablebut applies a timeout policy for each emitted item.Returns aFlowablethat mirrors the currentFlowablebut applies a timeout policy for each emitted item, where this policy is governed by a specifiedScheduler.Flowable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> fallback) Returns aFlowablethat mirrors the currentFlowablebut applies a timeout policy for each emitted item using a specifiedScheduler.Flowable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> fallback) Returns aFlowablethat mirrors the currentFlowablebut applies a timeout policy for each emitted item.Flowable.timeout(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> itemTimeoutIndicator) Returns aFlowablethat mirrors the currentFlowable, but notifiesSubscribers of aTimeoutExceptionif an item emitted by the currentFlowabledoesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by aPublisherthat is a function of the previous item.Flowable.timeout(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> itemTimeoutIndicator, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> fallback) Returns aFlowablethat mirrors the currentFlowable, but that switches to a fallbackPublisherif an item emitted by the currentFlowabledoesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by aPublisherthat is a function of the previous item.Flowable.timeout(@NonNull org.reactivestreams.Publisher<@NonNull U> firstTimeoutIndicator, @NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> itemTimeoutIndicator) Returns aFlowablethat mirrors the currentFlowable, but notifiesSubscribers of aTimeoutExceptionif either the first item emitted by the currentFlowableor any subsequent item doesn't arrive within time windows defined by otherPublishers.Flowable.timeout(@NonNull org.reactivestreams.Publisher<@NonNull U> firstTimeoutIndicator, @NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> itemTimeoutIndicator, @NonNull org.reactivestreams.Publisher<? extends @NonNull T> fallback) Returns aFlowablethat mirrors the currentFlowable, but switches to a fallbackPublisherif either the first item emitted by the currentFlowableor any subsequent item doesn't arrive within time windows defined by otherPublishers.Returns aMaybethat mirrors the currentMaybebut applies a timeout policy for each emitted item.Maybe.timeout(long timeout, @NonNull TimeUnit unit, @NonNull MaybeSource<? extends @NonNull T> fallback) Returns aMaybethat mirrors the currentMaybebut applies a timeout policy for each emitted item.Returns aMaybethat mirrors the currentMaybebut applies a timeout policy for each emitted item, where this policy is governed on a specifiedScheduler.Maybe.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull MaybeSource<? extends @NonNull T> fallback) Returns aMaybethat mirrors the currentMaybebut applies a timeout policy for each emitted item using a specifiedScheduler.Maybe.timeout(@NonNull MaybeSource<@NonNull U> timeoutIndicator) If the currentMaybedidn't signal an event before thetimeoutIndicatorMaybeSourcesignals, aTimeoutExceptionis signaled instead.Maybe.timeout(@NonNull MaybeSource<@NonNull U> timeoutIndicator, @NonNull MaybeSource<? extends @NonNull T> fallback) If the currentMaybedidn't signal an event before thetimeoutIndicatorMaybeSourcesignals, the currentMaybeis disposed and thefallbackMaybeSourcesubscribed to as a continuation.If the currentMaybesource didn't signal an event before thetimeoutIndicatorPublishersignals, aTimeoutExceptionis signaled instead.Maybe.timeout(@NonNull org.reactivestreams.Publisher<@NonNull U> timeoutIndicator, @NonNull MaybeSource<? extends @NonNull T> fallback) If the currentMaybedidn't signal an event before thetimeoutIndicatorPublishersignals, the currentMaybeis disposed and thefallbackMaybeSourcesubscribed to as a continuation.final @NonNull Observable<T> Returns anObservablethat mirrors the currentObservablebut applies a timeout policy for each emitted item.final @NonNull Observable<T> Observable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull ObservableSource<? extends @NonNull T> fallback) Returns anObservablethat mirrors the currentObservablebut applies a timeout policy for each emitted item.final @NonNull Observable<T> Returns anObservablethat mirrors the currentObservablebut applies a timeout policy for each emitted item, where this policy is governed on a specifiedScheduler.final @NonNull Observable<T> Observable.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull ObservableSource<? extends @NonNull T> fallback) Returns anObservablethat mirrors the currentObservablebut applies a timeout policy for each emitted item using a specifiedScheduler.final <@NonNull U,@NonNull V>
@NonNull Observable<T> Observable.timeout(@NonNull ObservableSource<@NonNull U> firstTimeoutIndicator, @NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull V>> itemTimeoutIndicator) Returns anObservablethat mirrors the currentObservable, but notifies observers of aTimeoutExceptionif either the first item emitted by the currentObservableor any subsequent item doesn't arrive within time windows defined by indicatorObservableSources.final <@NonNull U,@NonNull V>
@NonNull Observable<T> Observable.timeout(@NonNull ObservableSource<@NonNull U> firstTimeoutIndicator, @NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull V>> itemTimeoutIndicator, @NonNull ObservableSource<? extends @NonNull T> fallback) Returns anObservablethat mirrors the currentObservable, but switches to a fallbackObservableSourceif either the first item emitted by the currentObservableor any subsequent item doesn't arrive within time windows defined by indicatorObservableSources.final <@NonNull V>
@NonNull Observable<T> Observable.timeout(@NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull V>> itemTimeoutIndicator) Returns anObservablethat mirrors the currentObservable, but notifies observers of aTimeoutExceptionif an item emitted by the currentObservabledoesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by anObservableSourcethat is a function of the previous item.final <@NonNull V>
@NonNull Observable<T> Observable.timeout(@NonNull Function<? super @NonNull T, ? extends ObservableSource<@NonNull V>> itemTimeoutIndicator, @NonNull ObservableSource<? extends @NonNull T> fallback) Returns anObservablethat mirrors the currentObservable, but that switches to a fallbackObservableSourceif an item emitted by the currentObservabledoesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by anObservableSourcethat is a function of the previous item.Signals aTimeoutExceptionif the currentSingledoesn't signal a success value within the specified timeout window.Signals aTimeoutExceptionif the currentSingledoesn't signal a success value within the specified timeout window.Single.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull SingleSource<? extends @NonNull T> fallback) Runs the currentSingleand if it doesn't signal within the specified timeout window, it is disposed and the otherSingleSourcesubscribed to.Single.timeout(long timeout, @NonNull TimeUnit unit, @NonNull SingleSource<? extends @NonNull T> fallback) Runs the currentSingleand if it doesn't signal within the specified timeout window, it is disposed and the otherSingleSourcesubscribed to.private @NonNull CompletableCompletable.timeout0(long timeout, TimeUnit unit, Scheduler scheduler, CompletableSource fallback) Returns aCompletablethat runs thisCompletableand optionally switches to the otherCompletableSourcein case thisCompletabledoesn't complete within the given time while "waiting" on the specifiedScheduler.static @NonNull CompletableReturns aCompletableinstance that fires itsonCompleteevent after the given delay elapsed.static @NonNull CompletableReturns aCompletableinstance that fires itsonCompleteevent after the given delay elapsed by using the suppliedScheduler.Returns aFlowablethat emits0Lafter a specified delay, and then completes.Returns aFlowablethat emits0Lafter a specified delay, on a specifiedScheduler, and then completes.Returns aMaybethat emits0Lafter a specified delay.static @NonNull Observable<Long> Returns anObservablethat emits0Lafter a specified delay, and then completes.static @NonNull Observable<Long> Returns anObservablethat emits0Lafter a specified delay, on a specifiedScheduler, and then completes.Signals success with 0L value after the given delay when aSingleObserversubscribes.Signals success with 0L value on the specifiedSchedulerafter the given delay when aSingleObserversubscribes.Flowable.timestamp()Maybe.timestamp()final @NonNull Observable<Timed<T>> Observable.timestamp()Returns anObservablethat emits each item emitted by the currentObservable, wrapped in aTimedobject.final @NonNull Observable<Timed<T>> final @NonNull Observable<Timed<T>> Returns anObservablethat emits each item emitted by the currentObservable, wrapped in aTimedobject.final @NonNull Observable<Timed<T>> Single.timestamp()final <R> RCompletable.to(@NonNull CompletableConverter<? extends R> converter) Calls the specifiedCompletableConverterfunction during assembly time and returns its resulting value.final <@NonNull R>
RCalls the specified converter function during assembly time and returns its resulting value.final <R> RMaybe.to(@NonNull MaybeConverter<@NonNull T, ? extends R> converter) Calls the specified converter function during assembly time and returns its resulting value.final <@NonNull R>
RCalls the specified converter function during assembly time and returns its resulting value.final <R> RSingle.to(@NonNull SingleConverter<@NonNull T, ? extends R> converter) Calls the specified converter function during assembly time and returns its resulting value.final <@Nullable T>
@NonNull CompletionStage<T> Completable.toCompletionStage(@Nullable T defaultItem) Signals the given default item when the upstream completes or signals the upstream error via aCompletionStage.final @NonNull CompletionStage<T> Maybe.toCompletionStage()Signals the upstream success item (or aNoSuchElementExceptionif the upstream is empty) via aCompletionStage.final @NonNull CompletionStage<T> Maybe.toCompletionStage(@NonNull T defaultItem) Signals the upstream success item (or the default item if the upstream is empty) via aCompletionStage.final @NonNull CompletionStage<T> Single.toCompletionStage()Signals the upstream success item (or error) via aCompletionStage.Completable.toFlowable()Returns aFlowablewhich when subscribed to subscribes to thisCompletableand relays the terminal events to the downstreamSubscriber.Maybe.toFlowable()Converts thisMaybeinto a backpressure-awareFlowableinstance composing cancellation through.Observable.toFlowable(@NonNull BackpressureStrategy strategy) Converts the currentObservableinto aFlowableby applying the specified backpressure strategy.Single.toFlowable()Converts thisSingleinto aFlowable.Completable.toFuture()Flowable.toFuture()Returns aFuturerepresenting the only value emitted by thisFlowable.Maybe.toFuture()Returns aFuturerepresenting the single value emitted by the currentMaybeornullif the currentMaybeis empty.Observable.toFuture()Returns aFuturerepresenting the only value emitted by the currentObservable.Single.toFuture()Returns aFuturerepresenting the single value emitted by thisSingle.Flowable.toList()Returns aSinglethat emits a single item, a list composed of all the items emitted by the finite upstream sourcePublisher.Flowable.toList(int capacityHint) Returns aSinglethat emits a single item, a list composed of all the items emitted by the finite sourcePublisher.Returns aSinglethat emits a single item, a list composed of all the items emitted by the finite sourcePublisher.Observable.toList()Observable.toList(int capacityHint) Returns aSinglethat emits a single item, aCollection(subclass) composed of all the items emitted by the finite upstreamObservable.Flowable.toMap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector) Flowable.toMap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<? extends Map<@NonNull K, @NonNull V>> mapSupplier) Observable.toMap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector) Observable.toMap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<? extends Map<@NonNull K, @NonNull V>> mapSupplier) Completable.toMaybe()Converts thisCompletableinto aMaybe.Single.toMaybe()Converts thisSingleinto aMaybe.Flowable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector) Flowable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<? extends Map<@NonNull K, Collection<@NonNull V>>> mapSupplier, @NonNull Function<? super @NonNull K, ? extends Collection<? super @NonNull V>> collectionFactory) Flowable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<Map<@NonNull K, Collection<@NonNull V>>> mapSupplier) Observable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<? extends Map<@NonNull K, Collection<@NonNull V>>> mapSupplier, @NonNull Function<? super @NonNull K, ? extends Collection<? super @NonNull V>> collectionFactory) Returns aSinglethat emits a singleMap(subclass), returned by a specifiedmapFactoryfunction, that contains a customCollectionof values, extracted by a specifiedvalueSelectorfunction from items emitted by the current and finiteObservable, and keyed by thekeySelectorfunction.Observable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, @NonNull Function<? super @NonNull T, ? extends @NonNull V> valueSelector, @NonNull Supplier<Map<@NonNull K, Collection<@NonNull V>>> mapSupplier) Observable.toMultimap(@NonNull Function<? super @NonNull T, ? extends @NonNull K> keySelector, Function<? super @NonNull T, ? extends @NonNull V> valueSelector) final <@NonNull T>
@NonNull Observable<T> Completable.toObservable()Returns anObservablewhich when subscribed to subscribes to thisCompletableand relays the terminal events to the downstreamObserver.final @NonNull Observable<T> Flowable.toObservable()Converts the currentFlowableinto a non-backpressuredObservable.final @NonNull Observable<T> Maybe.toObservable()Converts thisMaybeinto anObservableinstance composing disposal through.final @NonNull Observable<T> Single.toObservable()Converts thisSingleinto anObservable.Maybe.toSingle()Converts thisMaybeinto aSingleinstance composing disposal through and turning an emptyMaybeinto a signal ofNoSuchElementException.Completable.toSingleDefault(@NonNull T completionValue) Converts thisCompletableinto aSinglewhich when thisCompletablecompletes normally, emits the given value throughonSuccess.Flowable.toSortedList()Flowable.toSortedList(int capacityHint) Flowable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator) Flowable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator, int capacityHint) Observable.toSortedList()Observable.toSortedList(int capacityHint) Observable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator) Observable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator, int capacityHint) static @NonNull CompletableCompletable.unsafeCreate(@NonNull CompletableSource onSubscribe) Constructs aCompletableinstance by wrapping the given source callback without any safeguards; you should manage the lifecycle and response to downstream disposal.Flowable.unsafeCreate(@NonNull org.reactivestreams.Publisher<@NonNull T> onSubscribe) Create aFlowableby wrapping aPublisherwhich has to be implemented according to the Reactive Streams specification by handling backpressure and cancellation correctly; no safeguards are provided by theFlowableitself.Maybe.unsafeCreate(@NonNull MaybeSource<@NonNull T> onSubscribe) Advanced use only: creates aMaybeinstance without any safeguards by using a callback that is called with aMaybeObserver.static <@NonNull T>
@NonNull Observable<T> Observable.unsafeCreate(@NonNull ObservableSource<@NonNull T> onSubscribe) Create anObservableby wrapping anObservableSourcewhich has to be implemented according to theObservablespecification derived from the Reactive Streams specification by handling disposal correctly; no safeguards are provided by theObservableitself.Single.unsafeCreate(@NonNull SingleSource<@NonNull T> onSubscribe) Advanced use only: creates aSingleinstance without any safeguards by using a callback that is called with aSingleObserver.final @NonNull CompletableCompletable.unsubscribeOn(@NonNull Scheduler scheduler) Returns aCompletablewhich makes sure when an observer disposes the subscription, thedispose()method is called on the specifiedScheduler.Flowable.unsubscribeOn(@NonNull Scheduler scheduler) Cancels the currentFlowableasynchronously by invokingSubscription.cancel()on the specifiedScheduler.Maybe.unsubscribeOn(@NonNull Scheduler scheduler) Returns aMaybewhich makes sure when aMaybeObserverdisposes theDisposable, that call is propagated up on the specifiedScheduler.final @NonNull Observable<T> Observable.unsubscribeOn(@NonNull Scheduler scheduler) Single.unsubscribeOn(@NonNull Scheduler scheduler) Returns aSinglewhich makes sure when aSingleObserverdisposes theDisposable, that call is propagated up on the specifiedScheduler.static <@NonNull R>
@NonNull CompletableCompletable.using(@NonNull Supplier<@NonNull R> resourceSupplier, @NonNull Function<? super @NonNull R, ? extends CompletableSource> sourceSupplier, @NonNull Consumer<? super @NonNull R> resourceCleanup) Returns aCompletableinstance which manages a resource along with a customCompletableSourceinstance while the subscription is active.static <@NonNull R>
@NonNull CompletableCompletable.using(@NonNull Supplier<@NonNull R> resourceSupplier, @NonNull Function<? super @NonNull R, ? extends CompletableSource> sourceSupplier, @NonNull Consumer<? super @NonNull R> resourceCleanup, boolean eager) Returns aCompletableinstance which manages a resource along with a customCompletableSourceinstance while the subscription is active and performs eager or lazy resource disposition.Flowable.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup) Constructs aFlowablethat creates a dependent resource object, aPublisherwith that resource and calls the providedresourceDisposerfunction if this inner source terminates or the downstream cancels the flow.Flowable.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup, boolean eager) Constructs aFlowablethat creates a dependent resource object, aPublisherwith that resource and calls the providedresourceDisposerfunction if this inner source terminates or the downstream disposes the flow; doing it before these end-states have been reached ifeager == true, after otherwise.Maybe.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, ? extends MaybeSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup) Constructs aMaybethat creates a dependent resource object which is disposed of when the generatedMaybeSourceterminates or the downstream calls dispose().Maybe.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, ? extends MaybeSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup, boolean eager) Constructs aMaybethat creates a dependent resource object which is disposed first ({code eager == true}) when the generatedMaybeSourceterminates or the downstream disposes; or after ({code eager == false}).static <@NonNull T,@NonNull D>
@NonNull Observable<T> Observable.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, ? extends ObservableSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup) Constructs anObservablethat creates a dependent resource object, anObservableSourcewith that resource and calls the providedresourceDisposerfunction if this inner source terminates or the downstream disposes the flow.static <@NonNull T,@NonNull D>
@NonNull Observable<T> Observable.using(@NonNull Supplier<? extends @NonNull D> resourceSupplier, @NonNull Function<? super @NonNull D, ? extends ObservableSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull D> resourceCleanup, boolean eager) Constructs anObservablethat creates a dependent resource object, anObservableSourcewith that resource and calls the provideddisposerfunction if this inner source terminates or the downstream disposes the flow; doing it before these end-states have been reached ifeager == true, after otherwise.Single.using(@NonNull Supplier<@NonNull U> resourceSupplier, @NonNull Function<? super @NonNull U, ? extends SingleSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull U> resourceCleanup) Allows using and disposing a resource while running aSingleSourceinstance generated from that resource (similar to a try-with-resources).Single.using(@NonNull Supplier<@NonNull U> resourceSupplier, @NonNull Function<? super @NonNull U, ? extends SingleSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull U> resourceCleanup, boolean eager) Allows using and disposing a resource while running aSingleSourceinstance generated from that resource (similar to a try-with-resources).Flowable.window(long count) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(long count, long skip) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(long count, long skip, int bufferSize) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, int bufferSize) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, long count, boolean restart) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, long count, boolean restart, int bufferSize) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Returns aFlowablethat emits non-overlapping windows of items it collects from the currentFlowablewhere the boundary of each window is determined by the items emitted from a specified boundary-governingPublisher.Flowable.window(@NonNull org.reactivestreams.Publisher<@NonNull B> boundaryIndicator, int bufferSize) Returns aFlowablethat emits non-overlapping windows of items it collects from the currentFlowablewhere the boundary of each window is determined by the items emitted from a specified boundary-governingPublisher.Flowable.window(@NonNull org.reactivestreams.Publisher<@NonNull U> openingIndicator, @NonNull Function<? super @NonNull U, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> closingIndicator) Returns aFlowablethat emits windows of items it collects from the currentFlowable.Flowable.window(@NonNull org.reactivestreams.Publisher<@NonNull U> openingIndicator, @NonNull Function<? super @NonNull U, @NonNull ? extends org.reactivestreams.Publisher<@NonNull V>> closingIndicator, int bufferSize) Returns aFlowablethat emits windows of items it collects from the currentFlowable.final @NonNull Observable<Observable<T>> Observable.window(long count) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long count, long skip) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long count, long skip, int bufferSize) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long timespan, long timeskip, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, int bufferSize) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, long count, boolean restart) Returns anObservablethat emits windows of items it collects from the currentObservable.final @NonNull Observable<Observable<T>> Observable.window(long timespan, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, long count, boolean restart, int bufferSize) Returns anObservablethat emits windows of items it collects from the currentObservable.final <@NonNull B>
@NonNull Observable<Observable<T>> Observable.window(@NonNull ObservableSource<@NonNull B> boundaryIndicator) Returns anObservablethat emits non-overlapping windows of items it collects from the currentObservablewhere the boundary of each window is determined by the items emitted from a specified boundary-governingObservableSource.final <@NonNull B>
@NonNull Observable<Observable<T>> Observable.window(@NonNull ObservableSource<@NonNull B> boundaryIndicator, int bufferSize) Returns anObservablethat emits non-overlapping windows of items it collects from the currentObservablewhere the boundary of each window is determined by the items emitted from a specified boundary-governingObservableSource.final <@NonNull U,@NonNull V>
@NonNull Observable<Observable<T>> Observable.window(@NonNull ObservableSource<@NonNull U> openingIndicator, @NonNull Function<? super @NonNull U, ? extends ObservableSource<@NonNull V>> closingIndicator) Returns anObservablethat emits windows of items it collects from the currentObservable.final <@NonNull U,@NonNull V>
@NonNull Observable<Observable<T>> Observable.window(@NonNull ObservableSource<@NonNull U> openingIndicator, @NonNull Function<? super @NonNull U, ? extends ObservableSource<@NonNull V>> closingIndicator, int bufferSize) Returns anObservablethat emits windows of items it collects from the currentObservable.Flowable.withLatestFrom(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<@NonNull ?>> others, @NonNull Function<? super Object[], @NonNull R> combiner) Combines the value emission from the currentFlowablewith the latest emissions from the otherPublishers via a function to produce the output item.Flowable.withLatestFrom(@NonNull org.reactivestreams.Publisher<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Merges the specifiedPublisherinto the currentFlowablesequence by using theresultSelectorfunction only when the currentFlowable(this instance) emits an item.Flowable.withLatestFrom(@NonNull org.reactivestreams.Publisher<@NonNull ?>[] others, @NonNull Function<? super Object[], @NonNull R> combiner) Combines the value emission from the currentFlowablewith the latest emissions from the otherPublishers via a function to produce the output item.Flowable.withLatestFrom(@NonNull org.reactivestreams.Publisher<@NonNull T1> source1, @NonNull org.reactivestreams.Publisher<@NonNull T2> source2, @NonNull Function3<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, @NonNull R> combiner) Combines the value emission from the currentFlowablewith the latest emissions from the otherPublishers via a function to produce the output item.Flowable.withLatestFrom(@NonNull org.reactivestreams.Publisher<@NonNull T1> source1, @NonNull org.reactivestreams.Publisher<@NonNull T2> source2, @NonNull org.reactivestreams.Publisher<@NonNull T3> source3, @NonNull Function4<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, @NonNull R> combiner) Combines the value emission from the currentFlowablewith the latest emissions from the otherPublishers via a function to produce the output item.Flowable.withLatestFrom(@NonNull org.reactivestreams.Publisher<@NonNull T1> source1, @NonNull org.reactivestreams.Publisher<@NonNull T2> source2, @NonNull org.reactivestreams.Publisher<@NonNull T3> source3, @NonNull org.reactivestreams.Publisher<@NonNull T4> source4, @NonNull Function5<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, @NonNull R> combiner) Combines the value emission from the currentFlowablewith the latest emissions from the otherPublishers via a function to produce the output item.final <@NonNull R>
@NonNull Observable<R> Observable.withLatestFrom(@NonNull ObservableSource<?>[] others, @NonNull Function<? super Object[], @NonNull R> combiner) Combines the value emission from the currentObservablewith the latest emissions from the otherObservableSources via a function to produce the output item.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.withLatestFrom(@NonNull ObservableSource<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Merges the specifiedObservableSourceinto the currentObservablesequence by using theresultSelectorfunction only when the currentObservableemits an item.Observable.withLatestFrom(@NonNull ObservableSource<@NonNull T1> source1, @NonNull ObservableSource<@NonNull T2> source2, @NonNull ObservableSource<@NonNull T3> source3, @NonNull ObservableSource<@NonNull T4> source4, @NonNull Function5<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, @NonNull R> combiner) Combines the value emission from the currentObservablewith the latest emissions from the otherObservableSources via a function to produce the output item.Observable.withLatestFrom(@NonNull ObservableSource<@NonNull T1> source1, @NonNull ObservableSource<@NonNull T2> source2, @NonNull ObservableSource<@NonNull T3> source3, @NonNull Function4<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, @NonNull R> combiner) Combines the value emission from the currentObservablewith the latest emissions from the otherObservableSources via a function to produce the output item.final <@NonNull T1,@NonNull T2, @NonNull R>
@NonNull Observable<R> Observable.withLatestFrom(@NonNull ObservableSource<@NonNull T1> source1, @NonNull ObservableSource<@NonNull T2> source2, @NonNull Function3<? super @NonNull T, ? super @NonNull T1, ? super @NonNull T2, @NonNull R> combiner) Combines the value emission from the currentObservablewith the latest emissions from the otherObservableSources via a function to produce the output item.final <@NonNull R>
@NonNull Observable<R> Observable.withLatestFrom(@NonNull Iterable<@NonNull ? extends ObservableSource<?>> others, @NonNull Function<? super Object[], @NonNull R> combiner) Combines the value emission from the currentObservablewith the latest emissions from the otherObservableSources via a function to produce the output item.static @NonNull CompletableCompletable.wrap(@NonNull CompletableSource source) Maybe.wrap(@NonNull MaybeSource<@NonNull T> source) static <@NonNull T>
@NonNull Observable<T> Observable.wrap(@NonNull ObservableSource<@NonNull T> source) Single.wrap(@NonNull SingleSource<@NonNull T> source) Flowable.zip(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by anIterableof otherPublishers.Flowable.zip(@NonNull Iterable<@NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by anIterableof otherPublishers.Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherPublishers.Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper, boolean delayError) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherPublishers.Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherPublishers.Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of three items emitted, in sequence, by three otherPublishers.Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Flowable<R> Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of five items emitted, in sequence, by five otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Flowable<R> Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of six items emitted, in sequence, by six otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Flowable<R> Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of seven items emitted, in sequence, by seven otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Flowable<R> Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull org.reactivestreams.Publisher<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of eight items emitted, in sequence, by eight otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Flowable<R> Flowable.zip(@NonNull org.reactivestreams.Publisher<? extends @NonNull T1> source1, @NonNull org.reactivestreams.Publisher<? extends @NonNull T2> source2, @NonNull org.reactivestreams.Publisher<? extends @NonNull T3> source3, @NonNull org.reactivestreams.Publisher<? extends @NonNull T4> source4, @NonNull org.reactivestreams.Publisher<? extends @NonNull T5> source5, @NonNull org.reactivestreams.Publisher<? extends @NonNull T6> source6, @NonNull org.reactivestreams.Publisher<? extends @NonNull T7> source7, @NonNull org.reactivestreams.Publisher<? extends @NonNull T8> source8, @NonNull org.reactivestreams.Publisher<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> zipper) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of nine items emitted, in sequence, by nine otherPublishers.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Maybe<R> Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull MaybeSource<? extends @NonNull T5> source5, @NonNull MaybeSource<? extends @NonNull T6> source6, @NonNull MaybeSource<? extends @NonNull T7> source7, @NonNull MaybeSource<? extends @NonNull T8> source8, @NonNull MaybeSource<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of nine items emitted, in sequence, by nine otherMaybeSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Maybe<R> Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull MaybeSource<? extends @NonNull T5> source5, @NonNull MaybeSource<? extends @NonNull T6> source6, @NonNull MaybeSource<? extends @NonNull T7> source7, @NonNull MaybeSource<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of eight items emitted, in sequence, by eight otherMaybeSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Maybe<R> Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull MaybeSource<? extends @NonNull T5> source5, @NonNull MaybeSource<? extends @NonNull T6> source6, @NonNull MaybeSource<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of seven items emitted, in sequence, by seven otherMaybeSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Maybe<R> Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull MaybeSource<? extends @NonNull T5> source5, @NonNull MaybeSource<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of six items emitted, in sequence, by six otherMaybeSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Maybe<R> Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull MaybeSource<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of five items emitted, in sequence, by five otherMaybeSources.Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull MaybeSource<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four otherMaybeSources.Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull MaybeSource<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of three items emitted, in sequence, by three otherMaybeSources.Maybe.zip(@NonNull MaybeSource<? extends @NonNull T1> source1, @NonNull MaybeSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherMaybeSources.Maybe.zip(@NonNull Iterable<@NonNull ? extends MaybeSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper) Returns aMaybethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by anIterableof otherMaybeSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull ObservableSource<? extends @NonNull T8> source8, @NonNull ObservableSource<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of nine items emitted, in sequence, by nine otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull ObservableSource<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of eight items emitted, in sequence, by eight otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull ObservableSource<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of seven items emitted, in sequence, by seven otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull ObservableSource<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of six items emitted, in sequence, by six otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull ObservableSource<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of five items emitted, in sequence, by five otherObservableSources.Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull ObservableSource<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four otherObservableSources.Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull ObservableSource<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of three items emitted, in sequence, by three otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper, boolean delayError) Returns anObservablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull ObservableSource<? extends @NonNull T1> source1, @NonNull ObservableSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns anObservablethat emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two otherObservableSources.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper) Returns anObservablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by anIterableof otherObservableSources.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.zip(@NonNull Iterable<@NonNull ? extends ObservableSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns anObservablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by anIterableof otherObservableSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull SingleSource<? extends @NonNull T8> source8, @NonNull SingleSource<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to nine items emitted by nine otherSingleSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull SingleSource<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to eight items emitted by eight otherSingleSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to seven items emitted by seven otherSingleSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to six items emitted by six otherSingleSources.static <@NonNull T1,@NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to five items emitted by five otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to four items emitted by four otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to three items emitted by three otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to two items emitted by two otherSingleSources.Single.zip(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper) Waits until allSingleSourcesources provided by theIterablesequence signal a success value and calls a zipper function with an array of these values to return a result to be emitted to the downstream.Flowable.zipArray(@NonNull Function<? super Object[], ? extends @NonNull R> zipper, boolean delayError, int bufferSize, @NonNull org.reactivestreams.Publisher<? extends @NonNull T>... sources) Returns aFlowablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an array of otherPublishers.Maybe.zipArray(@NonNull Function<? super Object[], ? extends @NonNull R> zipper, @NonNull MaybeSource<? extends @NonNull T>... sources) Returns aMaybethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an array of otherMaybeSources.static <@NonNull T,@NonNull R>
@NonNull Observable<R> Observable.zipArray(@NonNull Function<? super Object[], ? extends @NonNull R> zipper, boolean delayError, int bufferSize, @NonNull ObservableSource<? extends @NonNull T>... sources) Returns anObservablethat emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an array of otherObservableSources.Single.zipArray(@NonNull Function<? super Object[], ? extends @NonNull R> zipper, @NonNull SingleSource<? extends @NonNull T>... sources) Waits until allSingleSourcesources provided via an array signal a success value and calls a zipper function with an array of these values to return a result to be emitted to downstream.Flowable.zipWith(@NonNull Iterable<@NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns aFlowablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentFlowableand a specifiedIterablesequence.Flowable.zipWith(@NonNull org.reactivestreams.Publisher<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns aFlowablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentFlowableand another specifiedPublisher.Flowable.zipWith(@NonNull org.reactivestreams.Publisher<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper, boolean delayError) Returns aFlowablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentFlowableand another specifiedPublisher.Flowable.zipWith(@NonNull org.reactivestreams.Publisher<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns aFlowablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentFlowableand another specifiedPublisher.Maybe.zipWith(@NonNull MaybeSource<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Waits until this and the otherMaybeSourcesignal a success value then applies the givenBiFunctionto those values and emits theBiFunction's resulting value to downstream.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.zipWith(@NonNull ObservableSource<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns anObservablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentObservableand another specifiedObservableSource.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.zipWith(@NonNull ObservableSource<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper, boolean delayError) Returns anObservablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentObservableand another specifiedObservableSource.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.zipWith(@NonNull ObservableSource<? extends @NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper, boolean delayError, int bufferSize) Returns anObservablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentObservableand another specifiedObservableSource.final <@NonNull U,@NonNull R>
@NonNull Observable<R> Observable.zipWith(@NonNull Iterable<@NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns anObservablethat emits items that are the result of applying a specified function to pairs of values, one each from the currentObservableand a specifiedIterablesequence.Single.zipWith(@NonNull SingleSource<@NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns aSinglethat emits the result of applying a specified function to the pair of items emitted by the currentSingleand another specifiedSingleSource. -
Uses of SchedulerSupport in io.reactivex.rxjava3.flowables
Methods in io.reactivex.rxjava3.flowables with annotations of type SchedulerSupportModifier and TypeMethodDescriptionConnectableFlowable.autoConnect()Returns aFlowablethat automatically connects (at most once) to thisConnectableFlowablewhen the firstSubscribersubscribes.ConnectableFlowable.autoConnect(int numberOfSubscribers) Returns aFlowablethat automatically connects (at most once) to thisConnectableFlowablewhen the specified number ofSubscribers subscribe to it.ConnectableFlowable.autoConnect(int numberOfSubscribers, @NonNull Consumer<? super Disposable> connection) Returns aFlowablethat automatically connects (at most once) to thisConnectableFlowablewhen the specified number ofSubscribers subscribe to it and calls the specified callback with theDisposableassociated with the established connection.final @NonNull DisposableConnectableFlowable.connect()Instructs theConnectableFlowableto begin emitting the items from its underlyingFlowableto itsSubscribers.abstract voidConnectableFlowable.connect(@NonNull Consumer<? super Disposable> connection) Instructs theConnectableFlowableto begin emitting the items from its underlyingFlowableto itsSubscribers.ConnectableFlowable.refCount()Returns aFlowablethat stays connected to thisConnectableFlowableas long as there is at least one subscription to thisConnectableFlowable.ConnectableFlowable.refCount(int subscriberCount) Connects to the upstreamConnectableFlowableif the number of subscribed subscriber reaches the specified count and disconnect if all subscribers have unsubscribed.Connects to the upstreamConnectableFlowableif the number of subscribed subscriber reaches the specified count and disconnect after the specified timeout if all subscribers have unsubscribed.ConnectableFlowable.refCount(int subscriberCount, long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Connects to the upstreamConnectableFlowableif the number of subscribed subscriber reaches the specified count and disconnect after the specified timeout if all subscribers have unsubscribed.Connects to the upstreamConnectableFlowableif the number of subscribed subscriber reaches 1 and disconnect after the specified timeout if all subscribers have unsubscribed.Connects to the upstreamConnectableFlowableif the number of subscribed subscriber reaches 1 and disconnect after the specified timeout if all subscribers have unsubscribed.abstract voidConnectableFlowable.reset()Resets thisConnectableFlowableinto its fresh state if it has terminated. -
Uses of SchedulerSupport in io.reactivex.rxjava3.observables
Methods in io.reactivex.rxjava3.observables with annotations of type SchedulerSupportModifier and TypeMethodDescriptionConnectableObservable.autoConnect()Returns anObservablethat automatically connects (at most once) to thisConnectableObservablewhen the firstObserversubscribes.ConnectableObservable.autoConnect(int numberOfObservers) Returns anObservablethat automatically connects (at most once) to thisConnectableObservablewhen the specified number ofObservers subscribe to it.ConnectableObservable.autoConnect(int numberOfObservers, @NonNull Consumer<? super Disposable> connection) Returns anObservablethat automatically connects (at most once) to thisConnectableObservablewhen the specified number ofObservers subscribe to it and calls the specified callback with theDisposableassociated with the established connection.final @NonNull DisposableConnectableObservable.connect()Instructs theConnectableObservableto begin emitting the items from its underlyingObservableto itsObservers.abstract voidConnectableObservable.connect(@NonNull Consumer<? super Disposable> connection) Instructs theConnectableObservableto begin emitting the items from its underlyingObservableto itsObservers.ConnectableObservable.refCount()Returns anObservablethat stays connected to thisConnectableObservableas long as there is at least one subscription to thisConnectableObservable.final @NonNull Observable<T> ConnectableObservable.refCount(int observerCount) Connects to the upstreamConnectableObservableif the number of subscribed observers reaches the specified count and disconnect if allObservers have unsubscribed.final @NonNull Observable<T> Connects to the upstreamConnectableObservableif the number of subscribed observers reaches the specified count and disconnect after the specified timeout if allObservers have unsubscribed.final @NonNull Observable<T> ConnectableObservable.refCount(int observerCount, long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler) Connects to the upstreamConnectableObservableif the number of subscribed observers reaches the specified count and disconnect after the specified timeout if allObservers have unsubscribed.final @NonNull Observable<T> Connects to the upstreamConnectableObservableif the number of subscribed observers reaches 1 and disconnect after the specified timeout if allObservers have unsubscribed.final @NonNull Observable<T> Connects to the upstreamConnectableObservableif the number of subscribed observers reaches 1 and disconnect after the specified timeout if allObservers have unsubscribed.abstract voidConnectableObservable.reset()Resets thisConnectableObservableinto its fresh state if it has terminated or has been disposed. -
Uses of SchedulerSupport in io.reactivex.rxjava3.parallel
Methods in io.reactivex.rxjava3.parallel with annotations of type SchedulerSupportModifier and TypeMethodDescriptionfinal <@NonNull C>
@NonNull ParallelFlowable<C> ParallelFlowable.collect(@NonNull Supplier<? extends @NonNull C> collectionSupplier, @NonNull BiConsumer<? super @NonNull C, ? super @NonNull T> collector) Collect the elements in each rail into a collection supplied via acollectionSupplierand collected into with a collector action, emitting the collection at the end.final <@NonNull U>
@NonNull ParallelFlowable<U> Allows composing operators, in assembly time, on top of thisParallelFlowableand returns anotherParallelFlowablewith composed features.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.concatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Generates and concatenatesPublishers on each 'rail', signalling errors immediately and generating 2 publishers upfront.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.concatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int prefetch) Generates and concatenatesPublishers on each 'rail', signalling errors immediately and using the given prefetch amount for generatingPublishers upfront.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.concatMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean tillTheEnd) Generates and concatenatesPublishers on each 'rail', optionally delaying errors and generating 2 publishers upfront.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.concatMapDelayError(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, int prefetch, boolean tillTheEnd) Generates and concatenatesPublishers on each 'rail', optionally delaying errors and using the given prefetch amount for generatingPublishers upfront.final @NonNull ParallelFlowable<T> ParallelFlowable.doAfterNext(@NonNull Consumer<? super @NonNull T> onAfterNext) Call the specified consumer with the current element passing through any 'rail' after it has been delivered to downstream within the rail.final @NonNull ParallelFlowable<T> ParallelFlowable.doAfterTerminated(@NonNull Action onAfterTerminate) Run the specifiedActionwhen a 'rail' completes or signals an error.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnCancel(@NonNull Action onCancel) Run the specifiedActionwhen a 'rail' receives a cancellation.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnComplete(@NonNull Action onComplete) Run the specifiedActionwhen a 'rail' completes.final @NonNull ParallelFlowable<T> Call the specified consumer with the exception passing through any 'rail'.final @NonNull ParallelFlowable<T> Call the specified consumer with the current element passing through any 'rail'.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnNext(@NonNull Consumer<? super @NonNull T> onNext, @NonNull BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler) Call the specified consumer with the current element passing through any 'rail' and handles errors based on the returned value by the handler function.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnNext(@NonNull Consumer<? super @NonNull T> onNext, @NonNull ParallelFailureHandling errorHandler) Call the specified consumer with the current element passing through any 'rail' and handles errors based on the givenParallelFailureHandlingenumeration value.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnRequest(@NonNull LongConsumer onRequest) Call the specified consumer with the request amount if any rail receives a request.final @NonNull ParallelFlowable<T> ParallelFlowable.doOnSubscribe(@NonNull Consumer<? super org.reactivestreams.Subscription> onSubscribe) Call the specified callback when a 'rail' receives aSubscriptionfrom its upstream.final @NonNull ParallelFlowable<T> Filters the source values on each 'rail'.final @NonNull ParallelFlowable<T> ParallelFlowable.filter(@NonNull Predicate<? super @NonNull T> predicate, @NonNull BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler) Filters the source values on each 'rail' and handles errors based on the returned value by the handler function.final @NonNull ParallelFlowable<T> ParallelFlowable.filter(@NonNull Predicate<? super @NonNull T> predicate, @NonNull ParallelFailureHandling errorHandler) Filters the source values on each 'rail' and handles errors based on the givenParallelFailureHandlingenumeration value.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper) Generates and flattensPublishers on each 'rail'.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayError) Generates and flattensPublishers on each 'rail', optionally delaying errors.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayError, int maxConcurrency) Generates and flattensPublishers on each 'rail', optionally delaying errors and having a total number of simultaneous subscriptions to the innerPublishers.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMap(@NonNull Function<? super @NonNull T, @NonNull ? extends org.reactivestreams.Publisher<? extends @NonNull R>> mapper, boolean delayError, int maxConcurrency, int prefetch) Generates and flattensPublishers on each 'rail', optionally delaying errors, having a total number of simultaneous subscriptions to the innerPublishers and using the given prefetch amount for the innerPublishers.final <@NonNull U>
@NonNull ParallelFlowable<U> ParallelFlowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper) Returns aParallelFlowablethat merges each item emitted by the source on each rail with the values in anIterablecorresponding to that item that is generated by a selector.final <@NonNull U>
@NonNull ParallelFlowable<U> ParallelFlowable.flatMapIterable(@NonNull Function<? super @NonNull T, @NonNull ? extends Iterable<? extends @NonNull U>> mapper, int bufferSize) Returns aParallelFlowablethat merges each item emitted by the sourceParallelFlowablewith the values in anIterablecorresponding to that item that is generated by a selector.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper) Maps each upstream item on each rail into aStreamand emits theStream's items to the downstream in a sequential fashion.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.flatMapStream(@NonNull Function<? super @NonNull T, @NonNull ? extends Stream<? extends @NonNull R>> mapper, int prefetch) Maps each upstream item of each rail into aStreamand emits theStream's items to the downstream in a sequential fashion.static <@NonNull T>
@NonNull ParallelFlowable<T> Take aPublisherand prepare to consume it on multiple 'rails' (number of CPUs) in a round-robin fashion.static <@NonNull T>
@NonNull ParallelFlowable<T> ParallelFlowable.from(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source, int parallelism) Take aPublisherand prepare to consume it on parallelism number of 'rails' in a round-robin fashion.static <@NonNull T>
@NonNull ParallelFlowable<T> ParallelFlowable.from(@NonNull org.reactivestreams.Publisher<? extends @NonNull T> source, int parallelism, int prefetch) Take aPublisherand prepare to consume it on parallelism number of 'rails' , possibly ordered and round-robin fashion and use custom prefetch amount and queue for dealing with the sourcePublisher's values.static <@NonNull T>
@NonNull ParallelFlowable<T> Wraps multiplePublishers into aParallelFlowablewhich runs them in parallel and unordered.final <@NonNull R>
@NonNull ParallelFlowable<R> Maps the source values on each 'rail' to another value.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.map(@NonNull Function<? super @NonNull T, ? extends @NonNull R> mapper, @NonNull BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler) Maps the source values on each 'rail' to another value and handles errors based on the returned value by the handler function.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.map(@NonNull Function<? super @NonNull T, ? extends @NonNull R> mapper, @NonNull ParallelFailureHandling errorHandler) Maps the source values on each 'rail' to another value and handles errors based on the givenParallelFailureHandlingenumeration value.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper) Maps the source values on each 'rail' to an optional and emits its value if any.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper, @NonNull BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler) Maps the source values on each 'rail' to an optional and emits its value if any and handles errors based on the returned value by the handler function.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.mapOptional(@NonNull Function<? super @NonNull T, @NonNull Optional<? extends @NonNull R>> mapper, @NonNull ParallelFailureHandling errorHandler) Maps the source values on each 'rail' to an optional and emits its value if any and handles errors based on the givenParallelFailureHandlingenumeration value.Reduces all values within a 'rail' and across 'rails' with a reducer function into oneFlowablesequence.final <@NonNull R>
@NonNull ParallelFlowable<R> ParallelFlowable.reduce(@NonNull Supplier<@NonNull R> initialSupplier, @NonNull BiFunction<@NonNull R, ? super @NonNull T, @NonNull R> reducer) Reduces all values within a 'rail' to a single value (with a possibly different type) via a reducer function that is initialized on each rail from aninitialSuppliervalue.final @NonNull ParallelFlowable<T> Specifies where each 'rail' will observe its incoming values, specified via aScheduler, with no work-stealing and default prefetch amount.final @NonNull ParallelFlowable<T> Specifies where each 'rail' will observe its incoming values, specified via aScheduler, with possibly work-stealing and a given prefetch amount.ParallelFlowable.sequential()Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regularFlowablesequence, running with a default prefetch value for the rails.ParallelFlowable.sequential(int prefetch) Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regularFlowablesequence, running with a give prefetch value for the rails.ParallelFlowable.sequentialDelayError()Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regularFlowablesequence, running with a default prefetch value for the rails and delaying errors from all rails till all terminate.ParallelFlowable.sequentialDelayError(int prefetch) Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regularFlowablesequence, running with a give prefetch value for the rails and delaying errors from all rails till all terminate.ParallelFlowable.sorted(@NonNull Comparator<? super @NonNull T> comparator) Sorts the 'rails' of thisParallelFlowableand returns aFlowablethat sequentially picks the smallest next value from the rails.ParallelFlowable.sorted(@NonNull Comparator<? super @NonNull T> comparator, int capacityHint) Sorts the 'rails' of thisParallelFlowableand returns aFlowablethat sequentially picks the smallest next value from the rails.abstract voidParallelFlowable.subscribe(@NonNull org.reactivestreams.Subscriber<? super @NonNull T>[] subscribers) Subscribes an array ofSubscribers to thisParallelFlowableand triggers the execution chain for all 'rails'.final <@NonNull R>
RCalls the specified converter function during assembly time and returns its resulting value.ParallelFlowable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator) ParallelFlowable.toSortedList(@NonNull Comparator<? super @NonNull T> comparator, int capacityHint) -
Uses of SchedulerSupport in io.reactivex.rxjava3.processors
Classes in io.reactivex.rxjava3.processors with annotations of type SchedulerSupportModifier and TypeClassDescriptionfinal classAFlowableProcessorimplementation that coordinates downstream requests through a front-buffer and stable-prefetching, optionally canceling the upstream if all subscribers have cancelled.