Observable
Observable class is the non-backpressured, optionally multi-valued base reactive class that
offers factory methods, intermediate operators and the ability to consume synchronous
and/or asynchronous reactive dataflows.
Many operators in the class accept ObservableSource(s), the base reactive interface
for such non-backpressured flows, which Observable itself implements as well.
The Observable's operators, by default, run with a buffer size of 128 elements (see Flowable#bufferSize()),
that can be overridden globally via the system parameter rx3.buffer-size. Most operators, however, have
overloads that allow setting their internal buffer size explicitly.
The documentation for this class makes use of marble diagrams. The following legend explains these diagrams:
The design of this class was derived from the
Reactive-Streams design and specification
by removing any backpressure-related infrastructure and implementation detail, replacing the
org.reactivestreams.Subscription with Disposable as the primary means to dispose of
a flow.
The Observable follows the protocol
onSubscribe onNext* (onError | onComplete)?
where
the stream can be disposed through the Disposable instance provided to consumers through
Observer.onSubscribe.
Unlike the Observable of version 1.x, subscribe(Observer) does not allow external disposal
of a subscription and the Observer instance is expected to expose such capability.
Example:
Disposable d = Observable.just("Hello world!")
.delay(1, TimeUnit.SECONDS)
.subscribeWith(new DisposableObserver<String>() {
@Override public void onStart() {
System.out.println("Start!");
}
@Override public void onNext(String t) {
System.out.println(t);
}
@Override public void onError(Throwable t) {
t.printStackTrace();
}
@Override public void onComplete() {
System.out.println("Done!");
}
});
Thread.sleep(500);
// the sequence can now be disposed via dispose()
d.dispose();
Flowable, io.reactivex.rxjava3.observers.DisposableObserver
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final @NonNull Single | |
| public static < the common element type T> @NonNull Observable | Returns: the newObservable instancean sources)Iterable of ObservableSource sources competing to react first. A subscription to each source will
occur in the same order as in the Iterable.Mirrors the one |
| public static < the common element type T> @NonNull Observable | Returns: the newObservable instancean array of sources)ObservableSource sources competing to react first. A subscription to each source will
occur in the same order as in the array.Mirrors the one |
| public final @NonNull Observable | Returns: the newObservable instancean other)ObservableSource competing to react first. A subscription to this provided source will occur after
subscribing to the current source.Mirrors the current |
| public final @NonNull Single | Returns: the newSingle instancethe condition to test items emitted by the current predicate)ObservableReturns a Note this always emits |
| public final T | Returns: the first item emitted by the currentObservableReturns the first item emitted by the current |
| public final T | Returns: the first item emitted by the currentObservable, or the default value if it emits no
itemsa default value to return if the current defaultItem)Observable emits no itemsReturns the first item emitted by the current |
| public final void | blockingForEach(@NonNull Consumer<? super T>
the onNext)Consumer to invoke for each item emitted by the ObservableConsumes the current |
| public final void | blockingForEach(@NonNull Consumer<? super T>
the onNext, int Consumer to invoke for each item emitted by the Observablethe number of items expected to be buffered (allows reducing buffer reallocations) capacityHint)Consumes the current |
| public final @NonNull Iterable | Returns: the newIterable instanceExposes the current |
| public final @NonNull Iterable | Returns: the newIterable instancethe expected number of items to be buffered capacityHint)Exposes the current |
| public final T | Returns: the last item emitted by the currentObservableReturns the last item emitted by the current |
| public final T | Returns: the last item emitted by theObservable, or the default value if it emits no
itemsa default value to return if the current defaultItem)Observable emits no itemsReturns the last item emitted by the current |
| public final @NonNull Iterable | Returns: the newIterable instanceReturns an |
| public final @NonNull Iterable | Returns: the newIterable instancethe initial value that the initialItem)Iterable sequence will yield if the current
Observable has not yet emitted an itemReturns an |
| public final @NonNull Iterable | Returns: the newIterable instanceReturns an |
| public final T | Returns: the single item emitted by the currentObservableIf the current |
| public final T | Returns: the single item emitted by the currentObservable, or the default value if it emits no
itemsa default value to return if the current defaultItem)Observable emits no itemsIf the current |
| public final @NonNull Stream | Returns: the newStream instanceCreates a sequential |
| public final @NonNull Stream | Returns: the newStream instancethe expected number of items to be buffered capacityHint)Creates a sequential |
| public final void | blockingSubscribe()
Runs the current |
| public final void | blockingSubscribe(@NonNull Consumer<? super T>
the callback action for each source value onNext)Subscribes to the source and calls the given callbacks on the current thread. |
| public final void | |
| public final void | blockingSubscribe(@NonNull Consumer<? super T>
the callback action for each source value onNext, @NonNull Consumer<? super Throwable> the callback action for an error event onError, @NonNull Action the callback action for the completion event. onComplete)Subscribes to the source and calls the given callbacks on the current thread. |
| public final void | blockingSubscribe(@NonNull Observer<? super T>
the observer)Observer instance to forward events and calls to in the current threadSubscribes to the source and calls the |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items in each buffer before it should be emitted count)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum size of each buffer before it should be emitted count, int how many items emitted by the current skip)Observable should be skipped before starting a new
buffer. Note that when skip and count are equal, this is the same operation as
buffer(int).Returns an |
| public final < the collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe maximum size of each buffer before it should be emitted count, int how many items emitted by the current skip, @NonNull Supplier<U> Observable should be skipped before starting a new
buffer. Note that when skip and count are equal, this is the same operation as
buffer(int).a factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier)Returns an |
| public final < the collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe maximum number of items in each buffer before it should be emitted count, @NonNull Supplier<U> a factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted timespan, long the period of time after which a new buffer will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit)timespan and timeskip argumentsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted timespan, long the period of time after which a new buffer will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timespan and timeskip argumentsthe scheduler)Scheduler to use when determining the end and start of a bufferReturns an |
| public final < the collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted timespan, long the period of time after which a new buffer will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timespan and timeskip argumentsthe scheduler, @NonNull Supplier<U> Scheduler to use when determining the end and start of a buffera factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted and replaced with a new
buffer timespan, @NonNull TimeUnit the unit of time that applies to the unit)timespan argumentReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted and replaced with a new
buffer timespan, @NonNull TimeUnit the unit of time which applies to the unit, int timespan argumentthe maximum size of each buffer before it is emitted count)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted and replaced with a new
buffer timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler, int Scheduler to use when determining the end and start of a bufferthe maximum size of each buffer before it is emitted count)Returns an |
| public final < the collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted and replaced with a new
buffer timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler, int Scheduler to use when determining the end and start of a bufferthe maximum size of each buffer before it is emitted count, @NonNull Supplier<U> a factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier, boolean if restartTimerOnMaxSize)true, the time window is restarted when the max capacity of the current buffer
is reachedReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each buffer collects items before it is emitted and replaced with a new
buffer timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler)Scheduler to use when determining the end and start of a bufferReturns an |
| public final < the element type of the buffer-opening TOpening, ObservableSourcethe element type of the individual buffer-closing TClosing> @NonNull ObservableObservableSources | Returns: the newObservable instancethe openingIndicator, @NonNull Function<? super TOpening, ? extends ObservableSource<? extends TClosing>> ObservableSource that, when it emits an item, causes a new buffer to be createdthe closingIndicator)Function that is used to produce an ObservableSource for every buffer created. When this indicator
ObservableSource emits an item, the associated buffer is emitted.Returns an |
| public final < the element type of the buffer-opening TOpening, ObservableSourcethe element type of the individual buffer-closing TClosing, ObservableSourcesthe collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe openingIndicator, @NonNull Function<? super TOpening, ? extends ObservableSource<? extends TClosing>> ObservableSource that, when it emits an item, causes a new buffer to be createdthe closingIndicator, @NonNull Supplier<U> Function that is used to produce an ObservableSource for every buffer created. When this indicator
ObservableSource emits an item, the associated buffer is emitted.a factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier)Returns an |
| public final < the boundary value type (ignored) B> @NonNull Observable | Returns: the newObservable instancethe boundary boundaryIndicator)ObservableSourceReturns an |
| public final < the boundary value type (ignored) B> @NonNull Observable | Returns: the newObservable instancethe boundary boundaryIndicator, int ObservableSourcethe initial capacity of each buffer chunk initialCapacity)Returns an |
| public final < the boundary value type (ignored) B, the collection subclass type to buffer into U extends Collection | Returns: the newObservable instancethe boundary boundaryIndicator, @NonNull Supplier<U> ObservableSourcea factory function that returns an instance of the collection subclass to be used and returned
as the buffer bufferSupplier)Returns an |
| public static int | Returns: the default 'island' size or capacity-increment hintReturns the default 'island' size or capacity-increment hint for unbounded buffers. |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancehint for number of items to cache (for optimizing underlying data structure) initialCapacity)Returns an |
| public final < the output value type cast to U> @NonNull Observable | Returns: the newObservable instancethe target class type that clazz)cast will cast the items emitted by the current Observable
into before emitting them from the resulting ObservableReturns an |
| public final < the accumulator and output type U> @NonNull Single | Returns: the newSingle instancethe mutable data structure that will collect the items initialItemSupplier, @NonNull BiConsumer<? super U, ? super T> a function that accepts the collector)state and an emitted item, and modifies the accumulator accordingly
accordinglyCollects items emitted by the finite source |
| public final < the non- R, null result typethe intermediate container type used for the accumulation A> @NonNull Single | Returns: the newSingle instancethe interface defining the container supplier, accumulator and finisher functions;
see collector)Collectors for some standard implementationsCollects the finite upstream's values into a container via a |
| public final < the accumulator and output type U> @NonNull Single | Returns: the newSingle instancethe mutable data structure that will collect the items initialItem, @NonNull BiConsumer<? super U, ? super T> a function that accepts the collector)state and an emitted item, and modifies the accumulator accordingly
accordinglyCollects items emitted by the finite source |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the returned combiner)ObservableSourcesCombines a collection of source |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the returned combiner, int ObservableSourcesthe expected number of row combination items to be buffered internally bufferSize)Combines an |
| public static < the element type of the first source T1, the element type of the second source T2, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull BiFunction<? super T1, ? super T2, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines two source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull Function3<? super T1, ? super T2, ? super T3, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines three source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull Function4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines four source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the element type of the fifth source T5, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcethe fifth source source5, @NonNull Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines five source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the element type of the fifth source T5, the element type of the sixth source T6, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcethe fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcethe sixth source source6, @NonNull Function6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines six source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the element type of the fifth source T5, the element type of the sixth source T6, the element type of the seventh source T7, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcethe fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcethe sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcethe seventh source source7, @NonNull Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines seven source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the element type of the fifth source T5, the element type of the sixth source T6, the element type of the seventh source T7, the element type of the eighth source T8, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcethe fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcethe sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcethe seventh source source7, @NonNull ObservableSource<? extends T8> ObservableSourcethe eighth source source8, @NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines eight source |
| public static < the element type of the first source T1, the element type of the second source T2, the element type of the third source T3, the element type of the fourth source T4, the element type of the fifth source T5, the element type of the sixth source T6, the element type of the seventh source T7, the element type of the eighth source T8, the element type of the ninth source T9, the combined output type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcethe second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcethe third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcethe fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcethe fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcethe sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcethe seventh source source7, @NonNull ObservableSource<? extends T8> ObservableSourcethe eighth source source8, @NonNull ObservableSource<? extends T9> ObservableSourcethe ninth source source9, @NonNull Function9<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? super T9, ? extends R> ObservableSourcethe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines nine source |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines an array of source |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the combiner, int ObservableSourcesthe expected number of row combination items to be buffered internally bufferSize)Combines an array of source |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines an array of |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the combiner, int ObservableSourcesthe expected number of row combination items to be buffered internally bufferSize)Combines an array of |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe sources, @NonNull Function<? super Object[], ? extends R> Iterable of source ObservableSourcesthe aggregation function used to combine the items emitted by the combiner)ObservableSourcesCombines an |
| public static < the common base type of source values T, the result type R> @NonNull Observable | Returns: the newObservable instancethe collection of source sources, @NonNull Function<? super Object[], ? extends R> ObservableSourcesthe aggregation function used to combine the items emitted by the combiner, int ObservableSourcesthe expected number of row combination items to be buffered internally bufferSize)Combines an |
| public final < the value type of the output R> @NonNull ObservableObservableSource | Returns: the newObservable instanceimplements the function that transforms the current composer)ObservableTransform the current |
| public static < the common value type of the sources T> @NonNull Observable | Returns: the newObservable instancethe sources)Iterable sequence of ObservableSourcesConcatenates elements of each |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources)ObservableSource that emits ObservableSourcesReturns an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources, int ObservableSource that emits ObservableSourcesthe number of inner bufferSize)ObservableSources expected to be buffered.Returns an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, ObservableSource<? extends T> ObservableSource to be concatenatedan source2)ObservableSource to be concatenatedReturns an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be concatenatedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be concatenatedan source3)ObservableSource to be concatenatedReturns an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be concatenatedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be concatenatedan source3, @NonNull ObservableSource<? extends T> ObservableSource to be concatenatedan source4)ObservableSource to be concatenatedReturns an |
| public static < the common base value type T> @NonNull Observable | Returns: the newObservable instancethe array of sources sources)Concatenates a variable number of |
| public static < the common base value type T> @NonNull Observable | Returns: the newObservable instancethe array of sources sources)Concatenates a variable number of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behavioran array of sources)ObservableSources that need to be eagerly concatenatedConcatenates an array of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe maximum number of concurrent subscriptions at a time, maxConcurrency, int Integer#MAX_VALUE
is interpreted as indication to subscribe to all sources at oncethe number of elements expected from each bufferSize, @NonNull ObservableSource<? extends T>... ObservableSource to be bufferedan array of sources)ObservableSources that need to be eagerly concatenatedConcatenates an array of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behavioran array of sources)ObservableSources that need to be eagerly concatenatedConcatenates an array of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe maximum number of concurrent subscriptions at a time, maxConcurrency, int Integer#MAX_VALUE
is interpreted as indication to subscribe to all sources at oncethe number of elements expected from each bufferSize, @NonNull ObservableSource<? extends T>... ObservableSource to be bufferedan array of sources)ObservableSources that need to be eagerly concatenatedConcatenates an array of |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable with the concatenating behaviorthe sources)Iterable sequence of ObservableSourcesConcatenates the |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable with the concatenating behaviorthe sources)ObservableSource sequence of ObservableSourcesConcatenates the |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable with the concatenating behaviorthe sources, int ObservableSource sequence of ObservableSourcesthe number of inner bufferSize, boolean ObservableSources expected to be bufferedif tillTheEnd)true, exceptions from the outer and all inner ObservableSources are delayed to the end
if false, exception from the outer ObservableSource is delayed till the active ObservableSource terminatesConcatenates the |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources)ObservableSources that need to be eagerly concatenatedConcatenates a sequence of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources, int ObservableSources that need to be eagerly concatenatedthe maximum number of concurrently running inner maxConcurrency, int ObservableSources; Integer#MAX_VALUE
is interpreted as all inner ObservableSources can be active at the same timethe number of elements expected from each inner bufferSize)ObservableSource to be bufferedConcatenates a sequence of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources)ObservableSources that need to be eagerly concatenatedConcatenates an |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources, int ObservableSources that need to be eagerly concatenatedthe maximum number of concurrently running inner maxConcurrency, int ObservableSources; Integer#MAX_VALUE
is interpreted as all inner ObservableSources can be active at the same timethe number of inner bufferSize)ObservableSource expected to be bufferedConcatenates an |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources)ObservableSources that need to be eagerly concatenatedConcatenates a sequence of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources, int ObservableSources that need to be eagerly concatenatedthe maximum number of concurrently running inner maxConcurrency, int ObservableSources; Integer#MAX_VALUE
is interpreted as all inner ObservableSources can be active at the same timethe number of elements expected from each inner bufferSize)ObservableSource to be bufferedConcatenates a sequence of |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources)ObservableSources that need to be eagerly concatenatedConcatenates an |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviora sequence of sources, int ObservableSources that need to be eagerly concatenatedthe maximum number of concurrently running inner maxConcurrency, int ObservableSources; Integer#MAX_VALUE
is interpreted as all inner ObservableSources can be active at the same timethe number of inner bufferSize)ObservableSource expected to be bufferedConcatenates an |
| public final < the type of the inner R> @NonNull ObservableObservableSource sources and thus the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns an
ObservableSourceReturns a new |
| public final < the type of the inner R> @NonNull ObservableObservableSource sources and thus the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns an
ObservableSourcethe number of elements expected from the current bufferSize)Observable to be bufferedReturns a new |
| public final < the type of the inner R> @NonNull ObservableObservableSource sources and thus the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns an
ObservableSourcethe number of elements expected from the current bufferSize, @NonNull Scheduler Observable to be bufferedthe scheduler where the scheduler)mapper function will be executedReturns a new |
| public final @NonNull Completable | Returns: the newCompletable instancea function that, when applied to an item emitted by the current mapper)Observable, returns a CompletableSourceMaps each element of the current |
| public final @NonNull Completable | Returns: the newCompletable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns a CompletableSourcethe number of upstream items expected to be buffered until the current capacityHint)CompletableSource, mapped from
the current item, completes.Maps each element of the current |
| public final @NonNull Completable | Returns: the newCompletable instancethe function called with the upstream item and should return
a mapper)CompletableSource to become the next source to
be subscribed toMaps the upstream items into |
| public final @NonNull Completable | Returns: the newCompletable instancethe function called with the upstream item and should return
a mapper, boolean CompletableSource to become the next source to
be subscribed toIf tillTheEnd)true, errors from the current Observable or any of the
inner CompletableSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
CompletableSource terminates and only then is
it emitted to the downstream.Maps the upstream items into |
| public final @NonNull Completable | Returns: the newCompletable instancethe function called with the upstream item and should return
a mapper, boolean CompletableSource to become the next source to
be subscribed toIf tillTheEnd, int true, errors from the current Observable or any of the
inner CompletableSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
CompletableSource terminates and only then is
it emitted to the downstream.The number of upstream items expected to be buffered so that fresh items are
ready to be mapped when a previous bufferSize)CompletableSource terminates.Maps the upstream items into |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instance with the concatenation behaviorthe function that maps the items of the current mapper)Observable into the inner ObservableSources.Maps each of the items into an |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instance with the concatenation behaviorthe function that maps the items of the current mapper, boolean Observable into the inner ObservableSources.if tillTheEnd, int true, all errors from the outer and inner ObservableSource sources are delayed until the end,
if false, an error from the main source is signaled when the current Observable source terminatesthe number of elements expected from the current bufferSize)Observable to be bufferedMaps each of the items into an |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instance with the concatenation behaviorthe function that maps the items of the current mapper, boolean Observable into the inner ObservableSources.if tillTheEnd, int true, all errors from the outer and inner ObservableSource sources are delayed until the end,
if false, an error from the main source is signaled when the current Observable source terminatesthe number of elements expected from the current bufferSize, @NonNull Scheduler Observable to be bufferedthe scheduler where the scheduler)mapper function will be executedMaps each of the items into an |
| public final < the value type R> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe function that maps a sequence of values into a sequence of mapper)ObservableSources that will be
eagerly concatenatedMaps a sequence of values into |
| public final < the value type R> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe function that maps a sequence of values into a sequence of mapper, int ObservableSources that will be
eagerly concatenatedthe maximum number of concurrent subscribed maxConcurrency, int ObservableSourceshints about the number of expected items from each inner bufferSize)ObservableSource, must be positiveMaps a sequence of values into |
| public final < the value type R> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe function that maps a sequence of values into a sequence of mapper, boolean ObservableSources that will be
eagerly concatenatedif tillTheEnd)true, all errors from the outer and inner ObservableSource sources are delayed until the end,
if false, an error from the main source is signaled when the current Observable source terminatesMaps a sequence of values into |
| public final < the value type R> @NonNull Observable | Returns: the newObservable instance with the specified concatenation behaviorthe function that maps a sequence of values into a sequence of mapper, boolean ObservableSources that will be
eagerly concatenatedif tillTheEnd, int true, exceptions from the current Observable and all the inner ObservableSources are delayed until
all of them terminate, if false, exception from the current Observable is delayed until the
currently running ObservableSource terminatesthe maximum number of concurrent subscribed maxConcurrency, int ObservableSourcesthe number of elements expected from the current bufferSize)Observable and each inner ObservableSource to be bufferedMaps a sequence of values into |
| public final < the type of item emitted by the resulting U> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper)Iterable sequence of values for when given an item emitted by the
current ObservableReturns an |
| public final < the result type of the inner R> @NonNull ObservableMaybeSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper)MaybeSource to become the next source to
be subscribed toMaps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableMaybeSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, int MaybeSource to become the next source to
be subscribed toThe number of upstream items expected to be buffered so that fresh items are
ready to be mapped when a previous bufferSize)MaybeSource terminates.Maps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableMaybeSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper)MaybeSource to become the next source to
be subscribed toMaps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableMaybeSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, boolean MaybeSource to become the next source to
be subscribed toIf tillTheEnd)true, errors from the current Observable or any of the
inner MaybeSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
MaybeSource terminates and only then is
it emitted to the downstream.Maps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableMaybeSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, boolean MaybeSource to become the next source to
be subscribed toIf tillTheEnd, int true, errors from the current Observable or any of the
inner MaybeSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
MaybeSource terminates and only then is
it emitted to the downstream.The number of upstream items expected to be buffered so that fresh items are
ready to be mapped when a previous bufferSize)MaybeSource terminates.Maps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableSingleSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper)SingleSource to become the next source to
be subscribed toMaps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableSingleSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, int SingleSource to become the next source to
be subscribed toThe number of upstream items expected to be buffered so that fresh items are
ready to be mapped when a previous bufferSize)SingleSource terminates.Maps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableSingleSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper)SingleSource to become the next source to
be subscribed toMaps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableSingleSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, boolean SingleSource to become the next source to
be subscribed toIf tillTheEnd)true, errors from the current Observable or any of the
inner SingleSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
SingleSource terminates and only then is
it emitted to the downstream.Maps the upstream items into |
| public final < the result type of the inner R> @NonNull ObservableSingleSources | Returns: the newObservable instancethe function called with the upstream item and should return
a mapper, boolean SingleSource to become the next source to
be subscribed toIf tillTheEnd, int true, errors from the current Observable or any of the
inner SingleSources are delayed until all
of them terminate. If false, an error from the current
Observable is delayed until the current inner
SingleSource terminates and only then is
it emitted to the downstream.The number of upstream items expected to be buffered so that fresh items are
ready to be mapped when a previous bufferSize)SingleSource terminates.Maps the upstream items into |
| public final < the element type of the R> @NonNull ObservableStreams and the result | Returns: the newObservable instancethe function that receives an upstream item and should return a mapper)Stream whose elements
will be emitted to the downstreamMaps each upstream item into a |
| public final @NonNull Observable | Returns: the newObservable instancean other)ObservableSource to be concatenated after the currentReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other)SingleSource whose signal should be emitted after the current Observable completes normally.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other)MaybeSource whose signal should be emitted after the current Observable completes normally.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other)CompletableSource to subscribe to once the current Observable completes normallyReturns an |
| public final @NonNull Single | |
| public final @NonNull Single | |
| public static < the element type T> @NonNull Observable | Returns: the newObservable instancethe emitter that is called when an source)Observer subscribes to the returned ObservableProvides an API (via a cold |
| public final < the debounce value type (ignored) U> @NonNull Observable | Returns: the newObservable instancefunction to return a sequence that indicates the throttle duration for each item via its own emission or completion debounceIndicator)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the window of time that must pass after the emission of an item from the current
timeout, @NonNull TimeUnit Observable in which the Observable emits no items in order for the item to be emitted by the
resulting Observablethe unit of time for the specified unit)timeoutReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time each item has to be "the most recent" of those emitted by the current timeout, @NonNull TimeUnit Observable to
ensure that it's not droppedthe unit of time for the specified unit, @NonNull Scheduler timeoutthe scheduler)Scheduler to use internally to manage the timers that handle the timeout for each
itemReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time each item has to be "the most recent" of those emitted by the current timeout, @NonNull TimeUnit Observable to
ensure that it's not droppedthe unit of time for the specified unit, @NonNull Scheduler timeoutthe scheduler, @NonNull Consumer<? super T> Scheduler to use internally to manage the timers that handle the timeout for each
itemcalled with the current entry when it has been replaced by a new one onDropped)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe item to emit if the current defaultItem)Observable emits no itemsReturns an |
| public static < the type of the items emitted by the T> @NonNull ObservableObservableSource | Returns: the newObservable instancethe supplier)ObservableSource factory function to invoke for each Observer that subscribes to the
resulting ObservableReturns an |
| public final < the item delay value type (ignored) U> @NonNull Observable | Returns: the newObservable instancea function that returns an itemDelayIndicator)ObservableSource for each item emitted by the current Observable, which is
then used to delay the emission of that item by the resulting Observable until the ObservableSource
returned from itemDelay emits an itemReturns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe delay to shift the source by time, @NonNull TimeUnit the unit, boolean TimeUnit in which period is definedif delayError)true, the upstream exception is signaled with the given delay, after all preceding normal elements,
if false, the upstream exception is signaled immediatelyReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe delay to shift the source by time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler delaythe scheduler)Scheduler to use for delayingReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe delay to shift the source by time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler delaythe scheduler, boolean Scheduler to use for delayingif delayError)true, the upstream exception is signaled with the given delay, after all preceding normal elements,
if false, the upstream exception is signaled immediatelyReturns an |
| public final < the subscription delay value type (ignored) U, the item delay value type (ignored) V> @NonNull Observable | Returns: the newObservable instancea function that returns an subscriptionIndicator, @NonNull Function<? super T, ? extends ObservableSource<V>> ObservableSource that triggers the subscription to the current Observable
once it emits any itema function that returns an itemDelayIndicator)ObservableSource for each item emitted by the current Observable, which is
then used to delay the emission of that item by the resulting Observable until the ObservableSource
returned from itemDelay emits an itemReturns an |
| public final < the value type of the other U> @NonNull ObservableObservable, irrelevant | Returns: the newObservable instancethe other subscriptionIndicator)ObservableSource that should trigger the subscription
to the current Observable.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time to delay the subscription time, @NonNull TimeUnit the time unit of unit)delayReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time to delay the subscription time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler delaythe scheduler)Scheduler on which the waiting and subscription will happenReturns an |
| public final < the output value type R> @NonNull Observable | Returns: the newObservable instancefunction that returns the upstream item and should return a selector)Notification to signal
the corresponding Observer event to the downstream.Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final < the key type K> @NonNull Observable | Returns: the newObservable instancea function that projects an emitted item to a key value that is used to decide whether an item
is distinct from another one or not keySelector)Returns an |
| public final < the key type K> @NonNull Observable | Returns: the newObservable instancea function that projects an emitted item to a key value that is used to decide whether an item
is distinct from another one or not keySelector, @NonNull Supplier<? extends Collection<? super K>> function called for each individual collectionSupplier)Observer to return a Collection subtype for holding the extracted
keys and whose add() method's return indicates uniqueness.Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final < the key type K> @NonNull Observable | Returns: the newObservable instancea function that projects an emitted item to a key value that is used to decide whether an item
is distinct from another one or not keySelector)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe function that receives the previous item and the current item and is
expected to return comparer)true if the two are equal, thus skipping the current value.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe onAfterNext)Consumer that will be called after emitting an item from upstream to the downstreamCalls the specified |
| public final @NonNull Observable | Returns: the newObservable instancean onAfterTerminate)Action to be invoked after the current Observable finishesRegisters an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe action to invoke when the current onComplete)Observable calls onCompleteReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe action that gets called when the current onDispose)Observable's Disposable is disposedCalls the given shared |
| private @NonNull Observable | Returns: the newObservable instancethe onError, @NonNull Action onComplete, @NonNull Action Consumer to invoke when the current Observable calls onErrorthe onAfterTerminate)Action to invoke when the current Observable calls onAfterTerminateCalls the appropriate |
| public final @NonNull Observable | Returns: the newObservable instancethe action to invoke for each item emitted by the current onNotification)ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe observer to be notified about observer)onNext, onError and onComplete events on its
respective methods before the actual downstream Observer gets notified.Returns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancecalled when the downstream disposes the onDispose)Disposable via dispose()Calls the appropriate |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe onSubscribe)Consumer that gets called when an Observer subscribes to the current ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe action to invoke when the current onTerminate)Observable calls onComplete or onErrorReturns an |
| public final @NonNull Maybe | |
| public final @NonNull Single | |
| public final @NonNull Single | Returns: the newSingle instancethe zero-based index of the item to retrieve index)Returns a |
| public static < the type of the items (ostensibly) emitted by the T> @NonNull ObservableObservable | Returns: the sharedObservable instanceReturns an |
| public static < the type of the items (ostensibly) emitted by the T> @NonNull ObservableObservable | |
| public static < the type of the items (ostensibly) emitted by the T> @NonNull ObservableObservable | |
| public final @NonNull Observable | |
| public final @NonNull Single | |
| public final @NonNull Maybe | Returns: the newMaybe instanceReturns a |
| public final @NonNull Single | Returns: the newSingle instanceReturns a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instanceSignals the first upstream item or a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instancethe item to signal if the upstream is empty defaultItem)Signals the first upstream item (or the default item if the upstream is empty) via
a |
| public final < the value type of the inner R> @NonNull ObservableObservableSources and the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns an
ObservableSourceReturns an |
| public final < the value type of the inner R> @NonNull ObservableObservableSources and the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, boolean Observable, returns an
ObservableSourceif delayErrors)true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelyReturns an |
| public final < the value type of the inner R> @NonNull ObservableObservableSources and the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, boolean Observable, returns an
ObservableSourceif delayErrors, int true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelythe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyReturns an |
| public final < the value type of the inner R> @NonNull ObservableObservableSources and the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, boolean Observable, returns an
ObservableSourceif delayErrors, int true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelythe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of elements expected from each inner bufferSize)ObservableSource to be bufferedReturns an |
| public final < the result type R> @NonNull Observable | Returns: the newObservable instancea function that returns an onNextMapper, @NonNull Function<? super Throwable, ? extends ObservableSource<? extends R>> ObservableSource to merge for each item emitted by the current Observablea function that returns an onErrorMapper, @NonNull Supplier<? extends ObservableSource<? extends R>> ObservableSource to merge for an onError notification from the current
Observablea function that returns an onCompleteSupplier)ObservableSource to merge for an onComplete notification from the current
ObservableReturns an |
| public final < the result type R> @NonNull Observable | Returns: the newObservable instancea function that returns an onNextMapper, @NonNull Function<Throwable, ? extends ObservableSource<? extends R>> ObservableSource to merge for each item emitted by the current Observablea function that returns an onErrorMapper, @NonNull Supplier<? extends ObservableSource<? extends R>> ObservableSource to merge for an onError notification from the current
Observablea function that returns an onCompleteSupplier, int ObservableSource to merge for an onComplete notification from the current
Observablethe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyReturns an |
| public final < the value type of the inner R> @NonNull ObservableObservableSources and the output type | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns an
ObservableSourcethe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyReturns an |
| public final < the type of items emitted by the collection U, ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSource for each item emitted by the current Observablea function that combines one item emitted by each of the source and collection combiner)ObservableSources and
returns an item to be emitted by the resulting ObservableReturns an |
| public final < the type of items emitted by the collection U, ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSource for each item emitted by the current Observablea function that combines one item emitted by each of the source and collection combiner, boolean ObservableSources and
returns an item to be emitted by the resulting Observableif delayErrors)true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelyReturns an |
| public final < the type of items emitted by the collection U, ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSource for each item emitted by the current Observablea function that combines one item emitted by each of the source and collection combiner, boolean ObservableSources and
returns an item to be emitted by the resulting Observableif delayErrors, int true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelythe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyReturns an |
| public final < the type of items emitted by the collection U, ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSource for each item emitted by the current Observablea function that combines one item emitted by each of the source and collection combiner, boolean ObservableSources and
returns an item to be emitted by the resulting Observableif delayErrors, int true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
if false, the first one signaling an exception will terminate the whole sequence immediatelythe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of elements expected from the inner bufferSize)ObservableSource to be bufferedReturns an |
| public final < the type of items emitted by the collection U, ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSource for each item emitted by the current Observablea function that combines one item emitted by each of the source and collection combiner, int ObservableSources and
returns an item to be emitted by the resulting Observablethe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyReturns an |
| public final @NonNull Completable | Returns: the newCompletable instancethe function that received each source value and transforms them into mapper)CompletableSources.Maps each element of the current |
| public final @NonNull Completable | Returns: the newCompletable instancethe function that received each source value and transforms them into mapper, boolean CompletableSources.if delayErrors)true, errors from the upstream and inner CompletableSources are delayed until all of them
terminate.Maps each element of the current |
| public final < the output type and the element type of the U> @NonNull ObservableIterables | Returns: the newObservable instancea function that returns an mapper)Iterable sequence of values for when given an item emitted by the
current ObservableMerges |
| public final < the element type of the U, Iterablesthe output type as determined by the V> @NonNull ObservableresultSelector function | Returns: the newObservable instancea function that returns an mapper, @NonNull BiFunction<? super T, ? super U, ? extends V> Iterable sequence of values for each item emitted by the current
Observablea function that returns an item based on the item emitted by the current combiner)Observable and the
next item of the Iterable returned for that original item by the mapperMerges |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe function that received each source value and transforms them into mapper)MaybeSources.Maps each element of the current |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe function that received each source value and transforms them into mapper, boolean MaybeSources.if delayErrors)true, errors from the upstream and inner MaybeSources are delayed until all of them
terminate.Maps each element of the current |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe function that received each source value and transforms them into mapper)SingleSources.Maps each element of the current |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe function that received each source value and transforms them into mapper, boolean SingleSources.if delayErrors)true, errors from the upstream and inner SingleSources are delayed until each of them
terminates.Maps each element of the current |
| public final < the element type of the R> @NonNull ObservableStreams and the result | Returns: the newObservable instancethe function that receives an upstream item and should return a mapper)Stream whose elements
will be emitted to the downstreamMaps each upstream item into a |
| public final @NonNull Disposable | Returns: aDisposable that allows disposing the sequence if the current Observable runs asynchronouslythe onNext)Consumer to execute for each item.Subscribes to the |
| public final @NonNull Disposable | Returns: aDisposable that allows disposing the sequence if the current Observable runs asynchronouslythe onNext)Predicate to execute for each item.Subscribes to the |
| public final @NonNull Disposable | Returns: aDisposable that allows disposing the sequence if the current Observable runs asynchronouslythe onNext, @NonNull Consumer<? super Throwable> Predicate to execute for each item.the onError)Consumer to execute when an error is emitted.Subscribes to the |
| public final @NonNull Disposable | Returns: aDisposable that allows disposing the sequence if the current Observable runs asynchronouslythe onNext, @NonNull Consumer<? super Throwable> Predicate to execute for each item.the onError, @NonNull Action Consumer to execute when an error is emitted.the onComplete)Action to execute when completion is signaled.Subscribes to the |
| public static < the target type T> @NonNull Observable | Returns: the newObservable instancethe action)Action to run for each ObserverReturns an |
| public static < the type of items in the array and the type of items to be emitted by the resulting T> @NonNull ObservableObservable | Returns: the newObservable instancethe array of elements items)Converts an array into an |
| public static < the type of the item returned by the T> @NonNull ObservableCallable and emitted by the Observable | Returns: the newObservable instancea function, the execution of which should be deferred; callable)fromCallable will invoke this
function only when an observer subscribes to the Observable that fromCallable returnsReturns an |
| public static < the target type T> @NonNull Observable | Returns: the newObservable instancethe completableSource)CompletableSource to convert fromWraps a |
| public static < the element type of the T> @NonNull ObservableCompletionStage | Returns: the newObservable instancethe stage)CompletionStage to convert to Observable and signal its terminal value or errorSignals the completion value or error of the given (hot) |
| public static < the type of object that the T> @NonNull ObservableFuture returns, and also the type of item to be emitted by
the resulting Observable | Returns: the newObservable instancethe source future)FutureConverts a |
| public static < the type of object that the T> @NonNull ObservableFuture returns, and also the type of item to be emitted by
the resulting Observable | |
| public static < the type of items in the T> @NonNull ObservableIterable sequence and the type of items to be emitted by the
resulting Observable | Returns: the newObservable instancethe source source)Iterable sequenceConverts an |
| public static < the value type of the T> @NonNull ObservableMaybeSource element | Returns: the newObservable instancethe maybe)MaybeSource instance to subscribe to, not nullReturns an |
| public static < the element type of the optional value T> @NonNull Observable | Returns: the newObservable instancethe optional value to convert into an optional)ObservableConverts the existing value of the provided optional into a |
| public static < the value type of the flow T> @NonNull Observable | Returns: the newObservable instancethe publisher)Publisher to convertConverts an arbitrary Reactive Streams |
| public static < the target type T> @NonNull Observable | Returns: the newObservable instancethe run)Runnable to run for each ObserverReturns an |
| public static < the value type of the T> @NonNull ObservableSingleSource element | Returns: the newObservable instancethe source)SingleSource instance to subscribe to, not nullReturns an |
| public static < the element type of the source T> @NonNull ObservableStream | Returns: the newObservable instancethe stream)Stream of values to emitConverts a |
| public static < the type of the item emitted by the T> @NonNull ObservableObservable | Returns: the newObservable instancea function, the execution of which should be deferred; supplier)fromSupplier will invoke this
function only when an observer subscribes to the Observable that fromSupplier returnsReturns an |
| public static < the generated value type T> @NonNull Observable | Returns: the newObservable instancethe generator)Consumer called in a loop after a downstream Observer has
subscribed. The callback then should call onNext, onError or
onComplete to signal a value or a terminal event. Signaling multiple onNext
in a call will make the operator signal IllegalStateException.Returns a cold, synchronous and stateless generator of values. |
| public static < the generated value type T, the type of the per- S> @NonNull ObservableObserver state | Returns: the newObservable instancethe initialState, @NonNull BiConsumer<S, Emitter<T>> Supplier to generate the initial state for each Observerthe generator)BiConsumer called in a loop after a downstream Observer has
subscribed. The callback then should call onNext, onError or
onComplete to signal a value or a terminal event. Signaling multiple onNext
in a call will make the operator signal IllegalStateException.Returns a cold, synchronous and stateful generator of values. |
| public static < the generated value type T, the type of the per- S> @NonNull ObservableObserver state | Returns: the newObservable instancethe initialState, @NonNull BiConsumer<S, Emitter<T>> Supplier to generate the initial state for each Observerthe generator, @NonNull Consumer<? super S> BiConsumer called in a loop after a downstream Observer has
subscribed. The callback then should call onNext, onError or
onComplete to signal a value or a terminal event. Signaling multiple onNext
in a call will make the operator signal IllegalStateException.the disposeState)Consumer that is called with the current state when the generator
terminates the sequence or it gets disposedReturns a cold, synchronous and stateful generator of values. |
| public static < the generated value type T, the type of the per- S> @NonNull ObservableObserver state | Returns: the newObservable instancethe initialState, @NonNull BiFunction<S, Emitter<T>, S> Supplier to generate the initial state for each Observerthe generator)BiConsumer called in a loop after a downstream Observer has
subscribed. The callback then should call onNext, onError or
onComplete to signal a value or a terminal event and should return a (new) state for
the next invocation. Signaling multiple onNext
in a call will make the operator signal IllegalStateException.Returns a cold, synchronous and stateful generator of values. |
| public static < the generated value type T, the type of the per- S> @NonNull ObservableObserver state | Returns: the newObservable instancethe initialState, @NonNull BiFunction<S, Emitter<T>, S> Supplier to generate the initial state for each Observerthe generator, @NonNull Consumer<? super S> BiConsumer called in a loop after a downstream Observer has
subscribed. The callback then should call onNext, onError or
onComplete to signal a value or a terminal event and should return a (new) state for
the next invocation. Signaling multiple onNext
in a call will make the operator signal IllegalStateException.the disposeState)Consumer that is called with the current state when the generator
terminates the sequence or it gets disposedReturns a cold, synchronous and stateful generator of values. |
| public final < the key type K> @NonNull Observable | Returns: the newObservable instancea function that extracts the key for each item keySelector)Groups the items emitted by the current |
| public final < the key type K> @NonNull Observable | Returns: the newObservable instancea function that extracts the key for each item keySelector, boolean if delayError)true, the exception from the current Observable is delayed in each group until that specific group emitted
the normal values; if false, the exception bypasses values in the groups and is reported immediately.Groups the items emitted by the current |
| public final < the key type K, the element type V> @NonNull Observable | Returns: the newObservable instancea function that extracts the key for each item keySelector, Function<? super T, ? extends V> a function that extracts the return element for each item valueSelector)Groups the items emitted by the current |
| public final < the key type K, the element type V> @NonNull Observable | Returns: the newObservable instancea function that extracts the key for each item keySelector, @NonNull Function<? super T, ? extends V> a function that extracts the return element for each item valueSelector, boolean if delayError)true, the exception from the current Observable is delayed in each group until that specific group emitted
the normal values; if false, the exception bypasses values in the groups and is reported immediately.Groups the items emitted by the current |
| public final < the key type K, the element type V> @NonNull Observable | Returns: the newObservable instancea function that extracts the key for each item keySelector, @NonNull Function<? super T, ? extends V> a function that extracts the return element for each item valueSelector, boolean if delayError, int true, the exception from the current Observable is delayed in each group until that specific group emitted
the normal values; if false, the exception bypasses values in the groups and is reported immediately.the hint for how many bufferSize)GroupedObservables and element in each GroupedObservable should be bufferedGroups the items emitted by the current |
| public final < the value type of the right TRight, ObservableSource sourcethe element type of the left duration TLeftEnd, ObservableSourcesthe element type of the right duration TRightEnd, ObservableSourcesthe result type R> @NonNull Observable | Returns: the newObservable instancethe other other, @NonNull Function<? super T, ? extends ObservableSource<TLeftEnd>> ObservableSource to correlate items from the current Observable witha function that returns an leftEnd, @NonNull Function<? super TRight, ? extends ObservableSource<TRightEnd>> ObservableSource whose emissions indicate the duration of the values of
the current Observablea function that returns an rightEnd, @NonNull BiFunction<? super T, ? super Observable<TRight>, ? extends R> ObservableSource whose emissions indicate the duration of the values of
the right ObservableSourcea function that takes an item emitted by each resultSelector)ObservableSource and returns the value to be emitted
by the resulting ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instanceHides the identity of the current |
| public final @NonNull Completable | Returns: the newCompletable instanceIgnores all items emitted by the current |
| public static @NonNull Observable | Returns: the newObservable instancethe initial delay time to wait before emitting the first value of 0L initialDelay, long the period of time between emissions of the subsequent numbers period, @NonNull TimeUnit the time unit for both unit)initialDelay and periodReturns an |
| public static @NonNull Observable | Returns: the newObservable instancethe initial delay time to wait before emitting the first value of 0L initialDelay, long the period of time between emissions of the subsequent numbers period, @NonNull TimeUnit the time unit for both unit, @NonNull Scheduler initialDelay and periodthe scheduler)Scheduler on which the waiting happens and items are emittedReturns an |
| public static @NonNull Observable | |
| public static @NonNull Observable | Returns: the newObservable instancethe period size in time units (see below) period, @NonNull TimeUnit time units to use for the interval size unit, @NonNull Scheduler the scheduler)Scheduler to use for scheduling the itemsReturns an |
| public static @NonNull Observable | Returns: the newObservable instancethat start value of the range start, long the number of values to emit in total, if zero, the operator emits an count, long onComplete after the initial delay.the initial delay before signaling the first value (the start) initialDelay, long the period between subsequent values period, @NonNull TimeUnit the unit of measure of the unit)initialDelay and period amountsSignals a range of long values, the first after some initial delay and the rest periodically after. |
| public static @NonNull Observable | Returns: the newObservable instancethat start value of the range start, long the number of values to emit in total, if zero, the operator emits an count, long onComplete after the initial delay.the initial delay before signaling the first value (the start) initialDelay, long the period between subsequent values period, @NonNull TimeUnit the unit of measure of the unit, @NonNull Scheduler initialDelay and period amountsthe target scheduler where the values and terminal signals will be emitted scheduler)Signals a range of long values, the first after some initial delay and the rest periodically after. |
| public final @NonNull Single | |
| public final < the value type of the right TRight, ObservableSource sourcethe element type of the left duration TLeftEnd, ObservableSourcesthe element type of the right duration TRightEnd, ObservableSourcesthe result type R> @NonNull Observable | Returns: the newObservable instancethe second other, @NonNull Function<? super T, ? extends ObservableSource<TLeftEnd>> ObservableSource to join items froma function to select a duration for each item emitted by the current leftEnd, @NonNull Function<? super TRight, ? extends ObservableSource<TRightEnd>> Observable, used to
determine overlapa function to select a duration for each item emitted by the rightEnd, @NonNull BiFunction<? super T, ? super TRight, ? extends R> right ObservableSource, used to
determine overlapa function that computes an item to be emitted by the resulting resultSelector)Observable for any two
overlapping items emitted by the two ObservableSourcesCorrelates the items emitted by two |
| public static < the type of that item T> @NonNull Observable | Returns: the newObservable instancethe item to emit item)Returns an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2)Converts two items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3)Converts three items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4)Converts four items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5)Converts five items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5, T sixth item item6)Converts six items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5, T sixth item item6, T seventh item item7)Converts seven items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5, T sixth item item6, T seventh item item7, T eighth item item8)Converts eight items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5, T sixth item item6, T seventh item item7, T eighth item item8, T ninth item item9)Converts nine items into an |
| public static < the type of these items T> @NonNull Observable | Returns: the newObservable instancefirst item item1, T second item item2, T third item item3, T fourth item item4, T fifth item item5, T sixth item item6, T seventh item item7, T eighth item item8, T ninth item item9, T tenth item item10)Converts ten items into an |
| public final @NonNull Single | |
| public final @NonNull Maybe | Returns: the newMaybe instanceReturns a |
| public final @NonNull Single | Returns: the newSingle instanceReturns a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instanceSignals the last upstream item or a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instancethe item to signal if the upstream is empty defaultItem)Signals the last upstream item (or the default item if the upstream is empty) via
a |
| public final < the output value type R> @NonNull Observable | Returns: the newObservable instancethe lifter)ObservableOperator that receives the downstream's Observer and should return
an Observer with custom behavior to be used as the consumer for the current
Observable.This method requires advanced knowledge about building operators, please consider
other standard composition methods first;
Returns an |
| public final < the output type R> @NonNull Observable | Returns: the newObservable instancea function to apply to each item emitted by the current mapper)ObservableReturns an |
| public final < the non- R> @NonNull Observablenull output type | Returns: the newObservable instancethe function that receives the upstream item and should return a non-empty mapper)Optional
to emit as the output or an empty Optional to skip to the next upstream valueMaps each upstream value into an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources, int Iterable of ObservableSourcesthe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of items expected from each inner bufferSize)ObservableSource to be bufferedFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources)Iterable of ObservableSourcesFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources, int Iterable of ObservableSourcesthe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources)ObservableSource that emits ObservableSourcesFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources, int ObservableSource that emits ObservableSourcesthe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2)ObservableSource to be mergedFlattens two |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source3)ObservableSource to be mergedFlattens three |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source3, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source4)ObservableSource to be mergedFlattens four |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of items expected from each inner bufferSize, @NonNull ObservableSource<? extends T>... ObservableSource to be bufferedthe array of sources)ObservableSourcesFlattens an array of |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe array of sources)ObservableSourcesFlattens an array of |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of items expected from each inner bufferSize, @NonNull ObservableSource<? extends T>... ObservableSource to be bufferedthe array of sources)ObservableSourcesFlattens an array of |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe array of sources)ObservableSourcesFlattens an array of |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources)Iterable of ObservableSourcesFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources, int Iterable of ObservableSourcesthe maximum number of maxConcurrency, int ObservableSources that may be subscribed to concurrentlythe number of items expected from each inner bufferSize)ObservableSource to be bufferedFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancethe sources, int Iterable of ObservableSourcesthe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources)ObservableSource that emits ObservableSourcesFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean sources, int ObservableSource that emits ObservableSourcesthe maximum number of maxConcurrency)ObservableSources that may be subscribed to concurrentlyFlattens an |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2)ObservableSource to be mergedFlattens two |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source3)ObservableSource to be mergedFlattens three |
| public static < the common element base type T> @NonNull Observable | Returns: the newObservable instancean source1, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source2, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source3, @NonNull ObservableSource<? extends T> ObservableSource to be mergedan source4)ObservableSource to be mergedFlattens four |
| public final @NonNull Observable | Returns: the newObservable instancean other)ObservableSource to be mergedFlattens the current |
| public final @NonNull Observable | Returns: the newObservable instancethe other)SingleSource whose success value to merge withMerges the sequence of items of the current |
| public final @NonNull Observable | Returns: the newObservable instancethe other)MaybeSource which provides a success value to merge with or completesMerges the sequence of items of the current |
| public final @NonNull Observable | Returns: the newObservable instancethe other)CompletableSource to await for completionRelays the items of the current |
| public static < the type of items (not) emitted by the T> @NonNull ObservableObservable | |
| public final @NonNull Observable | Returns: the newObservable instancethe scheduler)Scheduler to notify Observers onReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe scheduler, boolean Scheduler to notify Observers onindicates if the delayError)onError notification may not cut ahead of onNext notification on the other side of the
scheduling boundary. If true, a sequence ending in onError will be replayed in the same order as was received
from the current ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe scheduler, boolean Scheduler to notify Observers onindicates if the delayError, int onError notification may not cut ahead of onNext notification on the other side of the
scheduling boundary. If true a sequence ending in onError will be replayed in the same order as was received
from upstreamthe size of the buffer. bufferSize)Returns an |
| public final < the output type U> @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe predicate to call when an predicate)Throwable is emitted which should return true
if the Throwable should be swallowed and replaced with an onComplete.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancea function that returns an fallbackSupplier)ObservableSource that will take over if the current Observable encounters
an errorResumes the flow with an |
| public final @NonNull Observable | Returns: the newObservable instancethe next fallback)ObservableSource source that will take over if the current Observable encounters
an errorResumes the flow with the given |
| public final @NonNull Observable | Returns: the newObservable instancea function that returns a single value that will be emitted along with a regular itemSupplier)onComplete in case
the current Observable signals an onError eventEnds the flow with a last item returned by a function for the |
| public final @NonNull Observable | Returns: the newObservable instancethe value that is emitted along with a regular item)onComplete in case the current
Observable signals an exceptionEnds the flow with the given last item when the current |
| public final @NonNull Observable | Returns: the newObservable instance
the sequence is terminated or downstream calls dispose()Nulls out references to the upstream producer and downstream |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instanceReturns a |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea function that can use the multicasted source sequence as many times as needed, without
causing multiple subscriptions to the source sequence. selector)Observers to the given source will
receive all notifications of the source from the time of the subscription forward.Returns an |
| public static @NonNull Observable | |
| public static @NonNull Observable | |
| public final @NonNull Maybe | Returns: the newMaybe instancean accumulator function to be invoked on each item emitted by the current reducer)Observable, whose
result will be used in the next accumulator callReturns a |
| public final < the accumulator and output value type R> @NonNull Single | Returns: the newSingle instancethe initial (seed) accumulator value seed, @NonNull BiFunction<R, ? super T, R> an accumulator function to be invoked on each item emitted by the current reducer)Observable, the
result of which will be used in the next accumulator callReturns a |
| public final < the accumulator and output value type R> @NonNull Single | Returns: the newSingle instancean accumulator function to be invoked on each item emitted by the current reducer)Observable, the
result of which will be used in the next accumulator callReturns a |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe number of times the current times)Observable items are repeated, a count of 0 will yield an empty
sequenceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancea boolean supplier that is called when the current stop)Observable completes;
if it returns true, the returned Observable completes; if it returns false,
the current Observable is resubscribed.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancereceives an handler)ObservableSource of notifications with which a user can complete or error, aborting the repeat.Returns an |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instanceReturns a |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector)ObservableReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, int Observablethe buffer size that limits the number of items the connectable bufferSize)Observable can replayReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, int Observablethe buffer size that limits the number of items the connectable bufferSize, boolean Observable can replayif eagerTruncate)true, whenever the internal buffer is truncated to the given bufferSize, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, int Observablethe buffer size that limits the number of items the connectable bufferSize, long Observable can replaythe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit)timeReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, int Observablethe buffer size that limits the number of items the connectable bufferSize, long Observable can replaythe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler that is the time source for the windowReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, int Observablethe buffer size that limits the number of items the connectable bufferSize, long Observable can replaythe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler, boolean Scheduler that is the time source for the windowif eagerTruncate)true, whenever the internal buffer is truncated to the given bufferSize/age, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, long Observablethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit)timeReturns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, long Observablethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler that is the time source for the window scheduler)Returns an |
| public final < the type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancea selector function, which can use the multicasted sequence as many times as needed, without
causing multiple subscriptions to the current selector, long Observablethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler that is the time source for the window scheduler, boolean if eagerTruncate)true, whenever the internal buffer is truncated to the given age, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns an |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe buffer size that limits the number of items that can be replayed bufferSize)Returns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe buffer size that limits the number of items that can be replayed bufferSize, boolean if eagerTruncate)true, whenever the internal buffer is truncated to the given bufferSize/age, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe buffer size that limits the number of items that can be replayed bufferSize, long the duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit)timeReturns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe buffer size that limits the number of items that can be replayed bufferSize, long the duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler that is used as a time source for the window scheduler)Returns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe buffer size that limits the number of items that can be replayed bufferSize, long the duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler that is used as a time source for the window scheduler, boolean if eagerTruncate)true, whenever the internal buffer is truncated to the given bufferSize/age, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit)timeReturns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler that is the time source for the windowReturns a |
| public final @NonNull ConnectableObservable | Returns: the newConnectableObservable instancethe duration of the window in which the replayed items must have been emitted time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler, boolean Scheduler that is the time source for the windowif eagerTruncate)true, whenever the internal buffer is truncated to the given bufferSize/age, the
oldest item will be guaranteed dereferenced, thus avoiding unexpected retentionReturns a |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe predicate that determines if a resubscription may happen in case of a specific exception
and retry count predicate)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe number of times to resubscribe if the current times)Observable failsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe number of times to resubscribe if the current times, @NonNull Predicate<? super Throwable> Observable failsthe predicate called with the failure predicate)Throwable and should return true to trigger a retry.Retries at most times or until the predicate returns |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe function that should return stop)true to stop retryingRetries until the given stop function returns |
| public final @NonNull Observable | Returns: the newObservable instancereceives an handler)Observable of notifications with which a user can complete or error, aborting the
retryReturns an |
| public final void | safeSubscribe(@NonNull Observer<? super T>
the incoming observer)Observer instanceSubscribes to the current |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe sampling rate period, @NonNull TimeUnit the unit, boolean TimeUnit in which period is definedif emitLast)true and the upstream completes while there is still an unsampled item available,
that item is emitted to downstream before completion
if false, an unsampled last item is ignored.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe sampling rate period, @NonNull TimeUnit the unit, @NonNull Scheduler TimeUnit in which period is definedthe scheduler)Scheduler to use when samplingReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe sampling rate period, @NonNull TimeUnit the unit, @NonNull Scheduler TimeUnit in which period is definedthe scheduler, boolean Scheduler to use when samplingif emitLast)true and the upstream completes while there is still an unsampled item available,
that item is emitted to downstream before completion
if false, an unsampled last item is ignored.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe sampling rate period, @NonNull TimeUnit the unit, @NonNull Scheduler TimeUnit in which period is definedthe scheduler, boolean Scheduler to use when samplingif emitLast, @NonNull Consumer<? super T> true and the upstream completes while there is still an unsampled item available,
that item is emitted to downstream before completion
if false, an unsampled last item is ignored.called with the current entry when it has been replaced by a new one onDropped)Returns an |
| public final < the element type of the sampler U> @NonNull ObservableObservableSource | Returns: the newObservable instancethe sampler)ObservableSource to use for sampling the current ObservableReturns an |
| public final < the element type of the sampler U> @NonNull ObservableObservableSource | Returns: the newObservable instancethe sampler, boolean ObservableSource to use for sampling the current Observableif emitLast)true and the upstream completes while there is still an unsampled item available,
that item is emitted to downstream before completion
if false, an unsampled last item is ignored.Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final < the initial, accumulator and result type R> @NonNull Observable | Returns: the newObservable instancethe initial (seed) accumulator item initialValue, @NonNull BiFunction<R, ? super T, R> accumulator)Returns an |
| public final < the initial, accumulator and result type R> @NonNull Observable | Returns: the newObservable instancean accumulator function to be invoked on each item emitted by the current accumulator)Observable, whose
result will be emitted to Observers via onNext and used in the
next accumulator callReturns an |
| public static < the type of items emitted by each T> @NonNull SingleObservableSource | Returns: the newSingle instancethe first source1, @NonNull ObservableSource<? extends T> ObservableSource to comparethe second source2)ObservableSource to compareReturns a |
| public static < the type of items emitted by each T> @NonNull SingleObservableSource | Returns: the newSingle instancethe first source1, @NonNull ObservableSource<? extends T> ObservableSource to comparethe second source2, @NonNull BiPredicate<? super T, ? super T> ObservableSource to comparea function used to compare items emitted by each isEqual)ObservableSourceReturns a |
| public static < the type of items emitted by each T> @NonNull SingleObservableSource | Returns: the newSingle instancethe first source1, @NonNull ObservableSource<? extends T> ObservableSource to comparethe second source2, @NonNull BiPredicate<? super T, ? super T> ObservableSource to comparea function used to compare items emitted by each isEqual, int ObservableSourcethe number of items expected from the first and second source bufferSize)ObservableSource to be bufferedReturns a |
| public static < the type of items emitted by each T> @NonNull SingleObservableSource | Returns: the newSingle instancethe first source1, @NonNull ObservableSource<? extends T> ObservableSource to comparethe second source2, int ObservableSource to comparethe number of items expected from the first and second source bufferSize)ObservableSource to be bufferedReturns a |
| public final @NonNull Observable | Returns: the newObservable instanceForces the current |
| public final @NonNull Observable | Returns: the newObservable instanceReturns a new |
| public final @NonNull Single | Returns: the newSingle instancea default value to emit if the current defaultItem)Observable emits no itemReturns a |
| public final @NonNull Maybe | Returns: the newMaybe instanceReturns a |
| public final @NonNull Single | Returns: the newSingle instanceReturns a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instanceSignals the only expected upstream item, a |
| public final @NonNull CompletionStage | Returns: the newCompletionStage instancethe item to signal if the upstream is empty defaultItem)Signals the only expected upstream item (or the default item if the upstream is empty)
or signals |
| public final @NonNull Observable | Returns: the newObservable instancethe number of items to skip count)Returns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window to skip time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler on which the timed wait happensReturns an |
| public final @NonNull Observable | Returns: the newObservable instancenumber of items to drop from the end of the source sequence count)Returns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, boolean timeif delayError)true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler used as the time source scheduler)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler used as the time source scheduler, boolean if delayError)true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler used as the time source scheduler, boolean if delayError, int true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedthe hint about how many elements to expect to be skipped bufferSize)Returns an |
| public final < the element type of the other U> @NonNull ObservableObservableSource | Returns: the newObservable instancethe second other)ObservableSource that has to emit an item before the current Observable's elements begin
to be mirrored by the resulting ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancea function to test each item emitted from the current predicate)ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancea function that compares two items emitted by the current comparator)Observable and returns an int
that indicates their sort orderReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other other)CompletableSource to run firstReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other other)SingleSource to run firstReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe other other)MaybeSource to run firstReturns an |
| public final @NonNull Observable | Returns: the newObservable instancean other)ObservableSource that contains the items you want the modified ObservableSource to emit firstReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe array of values to emit first items)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe item to emit first item)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancean items)Iterable that contains the items you want the resulting Observable to emit firstReturns an |
| public final @NonNull Disposable | Returns: the newDisposable instance that can be used to dispose the subscription at any timeSubscribes to the current |
| public final @NonNull Disposable | Returns: the newDisposable instance that can be used to dispose the subscription at any timethe onNext)Consumer<T> you have designed to accept emissions from the current ObservableSubscribes to the current |
| public final @NonNull Disposable | Returns: the newDisposable instance that can be used to dispose the subscription at any timethe onNext, @NonNull Consumer<? super Throwable> Consumer<T> you have designed to accept emissions from the current Observablethe onError)Consumer<Throwable> you have designed to accept any error notification from the current
ObservableSubscribes to the current |
| public final @NonNull Disposable | Returns: the newDisposable instance that can be used to dispose the subscription at any timethe onNext, @NonNull Consumer<? super Throwable> Consumer<T> you have designed to accept emissions from the current Observablethe onError, @NonNull Action Consumer<Throwable> you have designed to accept any error notification from the current
Observablethe onComplete)Action you have designed to accept a completion notification from the current
ObservableSubscribes to the current |
| public final @NonNull Disposable | Returns: theDisposable that allows disposing the particular subscription.the callback for upstream items onNext, @NonNull Consumer<? super Throwable> the callback for an upstream error if any onError, @NonNull Action the callback for the upstream completion if any onComplete, @NonNull DisposableContainer the container)DisposableContainer (such as CompositeDisposable) to add and remove the
created Disposable ObserverWraps the given onXXX callbacks into a |
| public final void | |
| protected abstract void | subscribeActual(@NonNull Observer<? super T>
the incoming observer)Observer, never nullOperator implementations (both source and intermediate) should implement this method that
performs the necessary business logic and handles the incoming |
| public final @NonNull Observable | Returns: the newObservable instancethe scheduler)Scheduler to perform subscription actions onAsynchronously subscribes |
| public final < the type of the E extends ObserverObserver to use and return | Returns: the inputobserverthe observer)Observer (subclass) to use and return, not nullSubscribes a given |
| public final @NonNull Observable | Returns: the newObservable instancethe alternate other)ObservableSource to subscribe to if the source does not emit any itemsReturns an |
| public final < the element type of the inner R> @NonNull ObservableObservableSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns an
ObservableSourceReturns a new |
| public final < the element type of the inner R> @NonNull ObservableObservableSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns an
ObservableSourcethe number of elements expected from the current active inner bufferSize)ObservableSource to be bufferedReturns a new |
| public final @NonNull Completable | Returns: the newCompletable instancethe function called with each upstream item and should return a
mapper)CompletableSource to be subscribed to and awaited for
(non blockingly) for its terminal eventMaps the items of the current |
| public final @NonNull Completable | Returns: the newCompletable instancethe function called with each upstream item and should return a
mapper)CompletableSource to be subscribed to and awaited for
(non blockingly) for its terminal eventMaps the upstream values into |
| public final < the element type of the inner R> @NonNull ObservableObservableSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns an
ObservableSourceReturns a new |
| public final < the element type of the inner R> @NonNull ObservableObservableSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper, int Observable, returns an
ObservableSourcethe number of elements expected from the current active inner bufferSize)ObservableSource to be bufferedReturns a new |
| public final < the output value type R> @NonNull Observable | Returns: the newObservable instancethe function called with the current upstream event and should
return a mapper)MaybeSource to replace the current active inner source
and get subscribed to.Maps the items of the current |
| public final < the output value type R> @NonNull Observable | Returns: the newObservable instancethe function called with the current upstream event and should
return a mapper)MaybeSource to replace the current active inner source
and get subscribed to.Maps the upstream items into |
| public final < the element type of the inner R> @NonNull ObservableSingleSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns a
SingleSourceReturns a new |
| public final < the element type of the inner R> @NonNull ObservableSingleSources and the output | Returns: the newObservable instancea function that, when applied to an item emitted by the current mapper)Observable, returns a
SingleSourceReturns a new |
| public static < the item type T> @NonNull Observable | Returns: the newObservable instancethe sources, int ObservableSource that emits ObservableSourcesthe expected number of items to cache from the inner bufferSize)ObservableSourcesConverts an |
| public static < the item type T> @NonNull Observable | Returns: the newObservable instancethe sources)ObservableSource that emits ObservableSourcesConverts an |
| public static < the item type T> @NonNull Observable | Returns: the newObservable instancethe sources)ObservableSource that emits ObservableSourcesConverts an |
| public static < the item type T> @NonNull Observable | Returns: the newObservable instancethe sources, int ObservableSource that emits ObservableSourcesthe expected number of items to cache from the inner bufferSize)ObservableSourcesConverts an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items to emit count)Returns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler used for time sourceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items to emit from the end of the sequence of items emitted by the current
count)ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items to emit count, long the length of the time window time, @NonNull TimeUnit the time unit of unit)timeReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items to emit count, long the length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler that provides the timestamps for the observed itemsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum number of items to emit count, long the length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler, boolean Scheduler that provides the timestamps for the observed itemsif delayError, int true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedthe hint about how many elements to expect to be last bufferSize)Returns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, boolean timeif delayError)true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler)Scheduler that provides the timestamps for the observed itemsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler, boolean Scheduler that provides the timestamps for the observed itemsif delayError)true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the time window time, @NonNull TimeUnit the time unit of unit, @NonNull Scheduler timethe scheduler, boolean Scheduler that provides the timestamps for the observed itemsif delayError, int true, an exception signaled by the current Observable is delayed until the regular elements are consumed
by the downstream; if false, an exception is immediately signaled and all regular elements droppedthe hint about how many elements to expect to be last bufferSize)Returns an |
| public final < the type of items emitted by U> @NonNull Observableother | Returns: the newObservable instancethe other)ObservableSource whose first emitted item or completion will cause takeUntil to stop emitting items
from the current ObservableReturns an |
| public final @NonNull Observable | Returns: the newObservable instancea function that evaluates an item emitted by the current stopPredicate)Observable and returns a BooleanReturns an |
| public final @NonNull Observable | Returns: the newObservable instancea function that evaluates an item emitted by the current predicate)Observable and returns a BooleanReturns an |
| public final @NonNull TestObserver | Returns: the newTestObserver instanceCreates a |
| public final @NonNull TestObserver | Returns: the newTestObserver instanceindicates if the dispose)TestObserver should be disposed before
it is subscribed to the current ObservableCreates a |
| public final @NonNull Observable | Returns: the newObservable instancetime to wait before emitting another item after emitting the last item windowDuration, @NonNull TimeUnit the unit of time of unit)windowDurationReturns an |
| public final @NonNull Observable | Returns: the newObservable instancetime to wait before emitting another item after emitting the last item skipDuration, @NonNull TimeUnit the unit of time of unit, @NonNull Scheduler skipDurationthe scheduler)Scheduler to use internally to manage the timers that handle timeout for each
eventReturns an |
| public final @NonNull Observable | Returns: the newObservable instancetime to wait before emitting another item after emitting the last item skipDuration, @NonNull TimeUnit the unit of time of unit, @NonNull Scheduler skipDurationthe scheduler, @NonNull Consumer<? super T> Scheduler to use internally to manage the timers that handle timeout for each
eventcalled when an item doesn't get delivered to the downstream onDropped)Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceduration of windows within which the last item emitted by the current intervalDuration, @NonNull TimeUnit Observable will be
emittedthe unit of time of unit)intervalDurationReturns an |
| public final @NonNull Observable | Returns: the newObservable instanceduration of windows within which the last item emitted by the current intervalDuration, @NonNull TimeUnit Observable will be
emittedthe unit of time of unit, @NonNull Scheduler intervalDurationthe scheduler, @NonNull Consumer<? super T> Scheduler to use internally to manage the timers that handle timeout for each
eventcalled with the current entry when it has been replaced by a new one onDropped)Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceduration of windows within which the last item emitted by the current intervalDuration, @NonNull TimeUnit Observable will be
emittedthe unit of time of unit, @NonNull Scheduler intervalDurationthe scheduler)Scheduler to use internally to manage the timers that handle timeout for each
eventReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time to wait after an item emission towards the downstream
before trying to emit the latest item from upstream again timeout, @NonNull TimeUnit the time unit unit)Throttles items from the current |
| public final @NonNull Observable | Returns: the newObservable instancethe time to wait after an item emission towards the downstream
before trying to emit the latest item from upstream again timeout, @NonNull TimeUnit the time unit unit, boolean If emitLast)true, the very last item from the upstream will be emitted
immediately when the upstream completes, regardless if there is
a timeout window active or not. If false, the very last
upstream item is ignored and the flow terminates.Throttles items from the current |
| public final @NonNull Observable | Returns: the newObservable instancethe time to wait after an item emission towards the downstream
before trying to emit the latest item from upstream again timeout, @NonNull TimeUnit the time unit unit, @NonNull Scheduler the scheduler)Scheduler where the timed wait and latest item
emission will be performedThrottles items from the current |
| public final @NonNull Observable | Returns: the newObservable instancethe time to wait after an item emission towards the downstream
before trying to emit the latest item from upstream again timeout, @NonNull TimeUnit the time unit unit, @NonNull Scheduler the scheduler, boolean Scheduler where the timed wait and latest item
emission will be performedIf emitLast)true, the very last item from the upstream will be emitted
immediately when the upstream completes, regardless if there is
a timeout window active or not. If false, the very last
upstream item is ignored and the flow terminates.Throttles items from the current |
| public final @NonNull Observable | Returns: the newObservable instancethe time to wait after an item emission towards the downstream
before trying to emit the latest item from upstream again timeout, @NonNull TimeUnit the time unit unit, @NonNull Scheduler the scheduler, boolean Scheduler where the timed wait and latest item
emission will be performedIf emitLast, @NonNull Consumer<? super T> true, the very last item from the upstream will be emitted
immediately when the upstream completes, regardless if there is
a timeout window active or not. If false, the very last
upstream item is ignored and the flow terminates.called when an item is replaced by a newer item that doesn't get delivered
to the downstream, including the very last item if onDropped)emitLast is false
and the current undelivered item when the sequence gets disposed.Throttles items from the current |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the window of time that must pass after the emission of an item from the current
timeout, @NonNull TimeUnit Observable, in which the current Observable emits no items, in order for the item to be emitted by the
resulting Observablethe unit of time for the specified unit)timeoutReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the window of time that must pass after the emission of an item from the current
timeout, @NonNull TimeUnit Observable, in which the current Observable emits no items, in order for the item to be emitted by the
resulting Observablethe unit of time for the specified unit, @NonNull Scheduler timeoutthe scheduler)Scheduler to use internally to manage the timers that handle the timeout for each
itemReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe length of the window of time that must pass after the emission of an item from the current
timeout, @NonNull TimeUnit Observable, in which the current Observable emits no items, in order for the item to be emitted by the
resulting Observablethe unit of time for the specified unit, @NonNull Scheduler timeoutthe scheduler, @NonNull Consumer<? super T> Scheduler to use internally to manage the timers that handle the timeout for each
itemcalled with the current entry when it has been replaced by a new one onDropped)Returns an |
| public final @NonNull Observable | Returns: the newObservable instanceReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe scheduler)Scheduler used to compute time intervalsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time unit for the current time unit)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe time unit for the current time unit, @NonNull Scheduler the scheduler)Scheduler used to compute time intervalsReturns an |
| public final < the timeout value type (ignored) V> @NonNull Observable | Returns: the newObservable instancea function that returns an itemTimeoutIndicator)ObservableSource for each item emitted by the current
Observable and that determines the timeout window for the subsequent itemReturns an |
| public final < the timeout value type (ignored) V> @NonNull Observable | Returns: the newObservable instancea function that returns an itemTimeoutIndicator, @NonNull ObservableSource<? extends T> ObservableSource, for each item emitted by the current Observable, that
determines the timeout window for the subsequent itemthe fallback fallback)ObservableSource to switch to if the current Observable times outReturns an |
| public final @NonNull Observable | Returns: the newObservable instancemaximum duration between emitted items before a timeout occurs timeout, @NonNull TimeUnit the unit of time that applies to the unit)timeout argument.Returns an |
| public final @NonNull Observable | Returns: the newObservable instancemaximum duration between items before a timeout occurs timeout, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull ObservableSource<? extends T> timeout argumentthe fallback fallback)ObservableSource to use in case of a timeoutReturns an |
| public final @NonNull Observable | Returns: the newObservable instancemaximum duration between items before a timeout occurs timeout, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timeout argumentthe scheduler, @NonNull ObservableSource<? extends T> Scheduler to run the timeout timers onthe fallback)ObservableSource to use as the fallback in case of a timeoutReturns an |
| public final @NonNull Observable | Returns: the newObservable instancemaximum duration between items before a timeout occurs timeout, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timeout argumentthe scheduler)Scheduler to run the timeout timers onReturns an |
| public final < the first timeout value type (ignored) U, the subsequent timeout value type (ignored) V> @NonNull Observable | Returns: the newObservable instancea function that returns an firstTimeoutIndicator, @NonNull Function<? super T, ? extends ObservableSource<V>> ObservableSource that determines the timeout window for the first source
itema function that returns an itemTimeoutIndicator)ObservableSource for each item emitted by the current Observable and that
determines the timeout window in which the subsequent source item must arrive in order to
continue the sequenceReturns an |
| public final < the first timeout value type (ignored) U, the subsequent timeout value type (ignored) V> @NonNull Observable | Returns: the newObservable instancea function that returns an firstTimeoutIndicator, @NonNull Function<? super T, ? extends ObservableSource<V>> ObservableSource which determines the timeout window for the first source
itema function that returns an itemTimeoutIndicator, @NonNull ObservableSource<? extends T> ObservableSource for each item emitted by the current Observable and that
determines the timeout window in which the subsequent source item must arrive in order to
continue the sequencethe fallback fallback)ObservableSource to switch to if the current Observable times outReturns an |
| private @NonNull Observable | |
| private <U, V> @NonNull Observable | timeout0(@NonNull ObservableSource<U> firstTimeoutIndicator, @NonNull Function<? super T, ? extends ObservableSource<V>> itemTimeoutIndicator, @Nullable ObservableSource<? extends T> fallback)
|
| public static @NonNull Observable | |
| public static @NonNull Observable | Returns: the newObservable instancethe initial delay before emitting a single 0L delay, @NonNull TimeUnit time units to use for unit, @NonNull Scheduler delaythe scheduler)Scheduler to use for scheduling the itemReturns an |
| public final @NonNull Observable | |
| public final @NonNull Observable | |
| public final @NonNull Observable | |
| public final @NonNull Observable | Returns: the newObservable instancethe time unit for the current time unit, @NonNull Scheduler the scheduler)Scheduler to use as a time sourceReturns an |
| public final < the resulting object type R> R | Returns: the converted valuethe function that receives the current converter)Observable instance and returns a valueCalls the specified converter function during assembly time and returns its resulting value. |
| public final @NonNull Flowable | Returns: the newFlowable instancethe backpressure strategy to apply strategy)Converts the current |
| public final @NonNull Future | |
| public final @NonNull Single | |
| public final @NonNull Single | |
| public final < the subclass of a collection of Ts U extends Collection | |
| public final < the key type of the Map K> @NonNull Single | Returns: the newSingle instancethe function that extracts the key from a source item to be used in the keySelector)HashMapReturns a |
| public final < the key type of the K, HashMapthe value type of the V> @NonNull SingleHashMap | Returns: the newSingle instancethe function that extracts the key from a source item to be used in the keySelector, @NonNull Function<? super T, ? extends V> HashMapthe function that extracts the value from a source item to be used in the valueSelector)HashMapReturns a |
| public final < the key type of the K, Mapthe value type of the V> @NonNull SingleMap | Returns: the newSingle instancethe function that extracts the key from a source item to be used in the keySelector, @NonNull Function<? super T, ? extends V> Mapthe function that extracts the value from the source items to be used as value in the valueSelector, @NonNull Supplier<? extends Map<K, V>> Mapthe function that returns a mapSupplier)Map instance to be usedReturns a |
| public final < the key type of the K> @NonNull SingleHashMap | Returns: the newSingle instancethe function that extracts the key from the source items to be used as key in the keySelector)HashMapReturns a |
| public final < the key type of the K, HashMapthe value type of the V> @NonNull SingleHashMap | Returns: the newSingle instancethe function that extracts a key from the source items to be used as key in the keySelector, Function<? super T, ? extends V> HashMapthe function that extracts a value from the source items to be used as value in the valueSelector)HashMapReturns a |
| public final < the key type of the K, Mapthe value type of the V> @NonNull SingleMap | Returns: the newSingle instancethe function that extracts a key from the source items to be used as the key in the keySelector, @NonNull Function<? super T, ? extends V> Mapthe function that extracts a value from the source items to be used as the value in the valueSelector, @NonNull Supplier<? extends Map<K, Collection<V>>> Mapthe function that returns a mapSupplier, @NonNull Function<? super K, ? extends Collection<? super V>> Map instance to be usedthe function that returns a collectionFactory)Collection instance for a particular key to be used in the MapReturns a |
| public final < the key type of the K, Mapthe value type of the V> @NonNull SingleMap | Returns: the newSingle instancethe function that extracts a key from the source items to be used as the key in the keySelector, @NonNull Function<? super T, ? extends V> Mapthe function that extracts a value from the source items to be used as the value in the valueSelector, @NonNull Supplier<Map<K, Collection<V>>> Mapthe function that returns a mapSupplier)Map instance to be usedReturns a |
| public final @NonNull Single | Returns: the newSingle instanceReturns a |
| public final @NonNull Single | Returns: the newSingle instancea function that compares two items emitted by the current comparator)Observable and returns an int
that indicates their sort orderReturns a |
| public final @NonNull Single | Returns: the newSingle instancea function that compares two items emitted by the current comparator, int Observable and returns an int
that indicates their sort orderthe initial capacity of the capacityHint)List used to accumulate items before sortingReturns a |
| public final @NonNull Single | Returns: the newSingle instancethe initial capacity of the capacityHint)List used to accumulate items before sortingReturns a |
| public static < the value type emitted T> @NonNull Observable | Returns: the newObservable instancethe onSubscribe)ObservableSource instance to wrapCreate an |
| public final @NonNull Observable | Returns: the newObservable instanceReturn an |
| public static < the element type of the generated T, Observablethe type of the resource associated with the output sequence D> @NonNull Observable | Returns: the newObservable instancethe factory function to create a resource object that depends on the resourceSupplier, @NonNull Function<? super D, ? extends ObservableSource<? extends T>> ObservableSourcethe factory function to create an sourceSupplier, @NonNull Consumer<? super D> ObservableSourcethe function that will dispose of the resource resourceCleanup)Constructs an |
| public static < the element type of the generated T, ObservableSourcethe type of the resource associated with the output sequence D> @NonNull Observable | Returns: the newObservable instancethe factory function to create a resource object that depends on the resourceSupplier, @NonNull Function<? super D, ? extends ObservableSource<? extends T>> ObservableSourcethe factory function to create an sourceSupplier, @NonNull Consumer<? super D> ObservableSourcethe function that will dispose of the resource resourceCleanup, boolean If eager)true, the resource disposal will happen either on a dispose() call before the upstream is disposed
or just before the emission of a terminal event (onComplete or onError).
If false, the resource disposal will happen either on a dispose() call after the upstream is disposed
or just after the emission of a terminal event (onComplete or onError).Constructs an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum size of each window before it should be emitted count)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum size of each window before it should be emitted count, long how many items need to be skipped before starting a new window. Note that if skip)skip and
count are equal this is the same operation as window(long).Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe maximum size of each window before it should be emitted count, long how many items need to be skipped before starting a new window. Note that if skip, int skip and
count are equal this is the same operation as window(long).the capacity hint for the buffer in the inner windows bufferSize)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted timespan, long the period of time after which a new window will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit)timespan and timeskip argumentsReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted timespan, long the period of time after which a new window will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timespan and timeskip argumentsthe scheduler)Scheduler to use when determining the end and start of a windowReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted timespan, long the period of time after which a new window will be created timeskip, @NonNull TimeUnit the unit of time that applies to the unit, @NonNull Scheduler timespan and timeskip argumentsthe scheduler, int Scheduler to use when determining the end and start of a windowthe capacity hint for the buffer in the inner windows bufferSize)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time that applies to the unit)timespan argumentReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time that applies to the unit, long timespan argumentthe maximum size of each window before it should be emitted count)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time that applies to the unit, long timespan argumentthe maximum size of each window before it should be emitted count, boolean if restart)true, when a window reaches the capacity limit, the timer is restarted as wellReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler)Scheduler to use when determining the end and start of a windowReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler, long Scheduler to use when determining the end and start of a windowthe maximum size of each window before it should be emitted count)Returns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler, long Scheduler to use when determining the end and start of a windowthe maximum size of each window before it should be emitted count, boolean if restart)true, when a window reaches the capacity limit, the timer is restarted as wellReturns an |
| public final @NonNull Observable | Returns: the newObservable instancethe period of time each window collects items before it should be emitted and replaced with a
new window timespan, @NonNull TimeUnit the unit of time which applies to the unit, @NonNull Scheduler timespan argumentthe scheduler, long Scheduler to use when determining the end and start of a windowthe maximum size of each window before it should be emitted count, boolean if restart, int true, when a window reaches the capacity limit, the timer is restarted as wellthe capacity hint for the buffer in the inner windows bufferSize)Returns an |
| public final < the window element type (ignored) B> @NonNull Observable | Returns: the newObservable instancean boundaryIndicator)ObservableSource whose emitted items close and open windowsReturns an |
| public final < the window element type (ignored) B> @NonNull Observable | Returns: the newObservable instancean boundaryIndicator, int ObservableSource whose emitted items close and open windowsthe capacity hint for the buffer in the inner windows bufferSize)Returns an |
| public final < the element type of the window-opening U, ObservableSourcethe element type of the window-closing V> @NonNull ObservableObservableSources | Returns: the newObservable instancean openingIndicator, @NonNull Function<? super U, ? extends ObservableSource<V>> ObservableSource that, when it emits an item, causes another window to be createda closingIndicator)Function that produces an ObservableSource for every window created. When this indicator ObservableSource
emits an item, the associated window is completedReturns an |
| public final < the element type of the window-opening U, ObservableSourcethe element type of the window-closing V> @NonNull ObservableObservableSources | Returns: the newObservable instancean openingIndicator, @NonNull Function<? super U, ? extends ObservableSource<V>> ObservableSource that, when it emits an item, causes another window to be createda closingIndicator, int Function that produces an ObservableSource for every window created. When this indicator ObservableSource
emits an item, the associated window is completedthe capacity hint for the buffer in the inner windows bufferSize)Returns an |
| public final < the element type of the other U, ObservableSourcethe result type of the combination R> @NonNull Observable | Returns: the newObservable instancethe other other, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSourcethe function to call when the current combiner)Observable emits an item and the other ObservableSource has already
emitted an item, to generate the item to be emitted by the resulting ObservableMerges the specified |
| public final < the first other source's value type T1, the second other source's value type T2, the result value type R> @NonNull Observable | Returns: the newObservable instancethe first other source1, @NonNull ObservableSource<T2> ObservableSourcethe second other source2, @NonNull Function3<? super T, ? super T1, ? super T2, R> ObservableSourcethe function called with an array of values from each participating combiner)ObservableSourceCombines the value emission from the current |
| public final < the first other source's value type T1, the second other source's value type T2, the third other source's value type T3, the result value type R> @NonNull Observable | Returns: the newObservable instancethe first other source1, @NonNull ObservableSource<T2> ObservableSourcethe second other source2, @NonNull ObservableSource<T3> ObservableSourcethe third other source3, @NonNull Function4<? super T, ? super T1, ? super T2, ? super T3, R> ObservableSourcethe function called with an array of values from each participating combiner)ObservableSourceCombines the value emission from the current |
| public final < the first other source's value type T1, the second other source's value type T2, the third other source's value type T3, the fourth other source's value type T4, the result value type R> @NonNull Observable | Returns: the newObservable instancethe first other source1, @NonNull ObservableSource<T2> ObservableSourcethe second other source2, @NonNull ObservableSource<T3> ObservableSourcethe third other source3, @NonNull ObservableSource<T4> ObservableSourcethe fourth other source4, @NonNull Function5<? super T, ? super T1, ? super T2, ? super T3, ? super T4, R> ObservableSourcethe function called with an array of values from each participating combiner)ObservableSourceCombines the value emission from the current |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe array of other sources others, @NonNull Function<? super Object[], R> the function called with an array of values from each participating combiner)ObservableSourceCombines the value emission from the current |
| public final < the result value type R> @NonNull Observable | Returns: the newObservable instancethe iterable of other sources others, @NonNull Function<? super Object[], R> the function called with an array of values from each participating combiner)ObservableSourceCombines the value emission from the current |
| public static < the value type T> @NonNull Observable | Returns: the newObservable instance or the same as the sourcethe source)ObservableSource instance to wrap or cast to ObservableWraps an |
| public static < the common value type T, the zipped result type R> @NonNull Observable | Returns: the newObservable instancean sources, @NonNull Function<? super Object[], ? extends R> Iterable of source ObservableSourcesa function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the common source value type T, the zipped result type R> @NonNull Observable | Returns: the newObservable instancean sources, @NonNull Function<? super Object[], ? extends R> Iterable of source ObservableSourcesa function that, when applied to an item emitted by each of the zipper, boolean ObservableSources, results in
an item that will be emitted by the resulting Observabledelay errors signaled by any of the delayError, int ObservableSource until all ObservableSources terminatethe number of elements expected from each source bufferSize)ObservableSource to be bufferedReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull BiFunction<? super T1, ? super T2, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results
in an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull BiFunction<? super T1, ? super T2, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper, boolean ObservableSources, results
in an item that will be emitted by the resulting Observabledelay errors from any of the delayError)ObservableSources till the other terminatesReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull BiFunction<? super T1, ? super T2, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper, boolean ObservableSources, results
in an item that will be emitted by the resulting Observabledelay errors from any of the delayError, int ObservableSources till the other terminatesthe number of elements expected from each source bufferSize)ObservableSource to be bufferedReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull Function3<? super T1, ? super T2, ? super T3, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull Function4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the value type of the fifth source T5, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcea fifth source source5, @NonNull Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the value type of the fifth source T5, the value type of the sixth source T6, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcea fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcea sixth source source6, @NonNull Function6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the value type of the fifth source T5, the value type of the sixth source T6, the value type of the seventh source T7, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcea fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcea sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcea seventh source source7, @NonNull Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the value type of the fifth source T5, the value type of the sixth source T6, the value type of the seventh source T7, the value type of the eighth source T8, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcea fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcea sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcea seventh source source7, @NonNull ObservableSource<? extends T8> ObservableSourcean eighth source source8, @NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the value type of the first source T1, the value type of the second source T2, the value type of the third source T3, the value type of the fourth source T4, the value type of the fifth source T5, the value type of the sixth source T6, the value type of the seventh source T7, the value type of the eighth source T8, the value type of the ninth source T9, the zipped result type R> @NonNull Observable | Returns: the newObservable instancethe first source source1, @NonNull ObservableSource<? extends T2> ObservableSourcea second source source2, @NonNull ObservableSource<? extends T3> ObservableSourcea third source source3, @NonNull ObservableSource<? extends T4> ObservableSourcea fourth source source4, @NonNull ObservableSource<? extends T5> ObservableSourcea fifth source source5, @NonNull ObservableSource<? extends T6> ObservableSourcea sixth source source6, @NonNull ObservableSource<? extends T7> ObservableSourcea seventh source source7, @NonNull ObservableSource<? extends T8> ObservableSourcean eighth source source8, @NonNull ObservableSource<? extends T9> ObservableSourcea ninth source source9, @NonNull Function9<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? super T9, ? extends R> ObservableSourcea function that, when applied to an item emitted by each of the zipper)ObservableSources, results in
an item that will be emitted by the resulting ObservableReturns an |
| public static < the common element type T, the result type R> @NonNull Observable | Returns: the newObservable instancea function that, when applied to an item emitted by each of the zipper, boolean ObservableSources, results in
an item that will be emitted by the resulting Observabledelay errors signaled by any of the delayError, int ObservableSource until all ObservableSources terminatethe number of elements expected from each source bufferSize, @NonNull ObservableSource<? extends T>... ObservableSource to be bufferedan array of source sources)ObservableSourcesReturns an |
| public final < the type of items in the U, other Iterablethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe other, @NonNull BiFunction<? super T, ? super U, ? extends R> Iterable sequencea function that combines the pairs of items from the current zipper)Observable and the Iterable to generate
the items to be emitted by the resulting ObservableReturns an |
| public final < the type of items emitted by the U, other ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe other other, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSourcea function that combines the pairs of items from the current zipper)Observable and the other ObservableSource to generate the items to
be emitted by the resulting ObservableReturns an |
| public final < the type of items emitted by the U, other ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe other other, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSourcea function that combines the pairs of items from the current zipper, boolean Observable and the other ObservableSource to generate the items to
be emitted by the resulting Observableif delayError)true, errors from the current Observable or the other ObservableSource is delayed until both terminateReturns an |
| public final < the type of items emitted by the U, other ObservableSourcethe type of items emitted by the resulting R> @NonNull ObservableObservable | Returns: the newObservable instancethe other other, @NonNull BiFunction<? super T, ? super U, ? extends R> ObservableSourcea function that combines the pairs of items from the current zipper, boolean Observable and the other ObservableSource to generate the items to
be emitted by the resulting Observableif delayError, int true, errors from the current Observable or the other ObservableSource is delayed until both terminatethe capacity hint for the buffer in the inner windows bufferSize)Returns an |