Uses of Class
rx.Observable
-
Packages that use Observable Package Description rx Base reactive classes: Observable, Single and Completable; base reactive consumers; other common base interfaces.rx.internal.operators Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.rx.internal.schedulers rx.internal.util rx.observables Classes extending the Observable base reactive class, synchronous and asynchronous event generators.rx.plugins Callback types and a central plugin handler class to hook into the lifecycle of the base reactive types and schedulers.rx.subjects Classes extending the Observable base reactive class and implementing the Observer interface at the same time (aka hot Observables). -
-
Uses of Observable in rx
Fields in rx declared as Observable Modifier and Type Field Description (package private) Observable<T>Observable.OnSubscribeExtend. parentMethods in rx that return Observable Modifier and Type Method Description Observable<java.lang.Boolean>Observable. all(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits a Boolean that indicates whether all of the items emitted by the source Observable satisfy a condition.static <T> Observable<T>Observable. amb(java.lang.Iterable<? extends Observable<? extends T>> sources)Mirrors the one Observable in an Iterable of several Observables that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2)Given two Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3)Given three Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4)Given four Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5)Given five Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6)Given six Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7)Given seven Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8)Given eight Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8, Observable<? extends T> o9)Given nine Observables, mirrors the one that first either emits an item or sends a termination notification.Observable<T>Observable. ambWith(Observable<? extends T> t1)Mirrors the Observable (current or provided) that first either emits an item or sends a termination notification.<T> Observable<T>Completable. andThen(Observable<T> next)Returns an Observable which will subscribe to this Completable and once that is completed then will subscribe to thenextObservable.Observable<T>Observable. asObservable()Portrays a object of an Observable subclass as a simple Observable object.private static <T> Observable<T>Single. asObservable(Single<T> t)
Observable<java.util.List<T>>Observable. buffer(int count)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(int count, int skip)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, long timeshift, java.util.concurrent.TimeUnit unit)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, long timeshift, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, java.util.concurrent.TimeUnit unit)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, java.util.concurrent.TimeUnit unit, int count)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, java.util.concurrent.TimeUnit unit, int count, Scheduler scheduler)Returns an Observable that emits buffers of items it collects from the source Observable.Observable<java.util.List<T>>Observable. buffer(long timespan, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits buffers of items it collects from the source Observable.<TClosing> Observable<java.util.List<T>>Observable. buffer(Func0<? extends Observable<? extends TClosing>> bufferClosingSelector)Returns an Observable that emits buffers of items it collects from the source Observable.<TOpening,TClosing>
Observable<java.util.List<T>>Observable. buffer(Observable<? extends TOpening> bufferOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> bufferClosingSelector)Returns an Observable that emits buffers of items it collects from the source Observable.<B> Observable<java.util.List<T>>Observable. buffer(Observable<B> boundary)Returns an Observable that emits non-overlapping buffered items from the source Observable each time the specified boundary Observable emits an item.<B> Observable<java.util.List<T>>Observable. buffer(Observable<B> boundary, int initialCapacity)Returns an Observable that emits non-overlapping buffered items from the source Observable each time the specified boundary Observable emits an item.Observable<T>Observable. cache()Returns an Observable that subscribes to this Observable lazily, caches all of its events and replays them, in the same order as received, to all the downstream subscribers.Observable<T>Observable. cache(int initialCapacity)Deprecated.UsecacheWithInitialCapacity(int)instead.Observable<T>Observable. cacheWithInitialCapacity(int initialCapacity)Returns an Observable that subscribes to this Observable lazily, caches all of its events and replays them, in the same order as received, to all the downstream subscribers.<R> Observable<R>Observable. cast(java.lang.Class<R> klass)Returns an Observable that emits the items emitted by the source Observable, converted to the specified type.<R> Observable<R>Observable. collect(Func0<R> stateFactory, Action2<R,? super T> collector)Collects items emitted by the source Observable into a single mutable data structure and returns an Observable that emits this structure.static <T,R>
Observable<R>Observable. combineLatest(java.lang.Iterable<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a collection of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T,R>
Observable<R>Observable. combineLatest(java.util.List<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a list of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Func2<? super T1,? super T2,? extends R> combineFunction)Combines two source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from either of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Func3<? super T1,? super T2,? super T3,? extends R> combineFunction)Combines three source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> combineFunction)Combines four source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> combineFunction)Combines five source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> combineFunction)Combines six source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> combineFunction)Combines seven source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> combineFunction)Combines eight source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Observable<? extends T9> o9, Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> combineFunction)Combines nine source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T,R>
Observable<R>Observable. combineLatestDelayError(java.lang.Iterable<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a collection of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function and delays any error from the sources until all source Observables terminate.<R> Observable<R>Observable. compose(Observable.Transformer<? super T,? extends R> transformer)Transform an Observable by applying a particular Transformer function to it.static <T> Observable<T>Observable. concat(Observable<? extends Observable<? extends T>> observables)Returns an Observable that emits the items emitted by each of the Observables emitted by the source Observable, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2)Returns an Observable that emits the items emitted by two Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Returns an Observable that emits the items emitted by three Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Returns an Observable that emits the items emitted by four Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Returns an Observable that emits the items emitted by five Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Returns an Observable that emits the items emitted by six Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Returns an Observable that emits the items emitted by seven Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Returns an Observable that emits the items emitted by eight Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Returns an Observable that emits the items emitted by nine Observables, one after the other, without interleaving them.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2)Returns an Observable that emits the items emitted by two Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3)Returns an Observable that emits the items emitted by three Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4)Returns an Observable that emits the items emitted by four Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5)Returns an Observable that emits the items emitted by five Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6)Returns an Observable that emits the items emitted by six Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7)Returns an Observable that emits the items emitted by seven Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7, Single<? extends T> t8)Returns an Observable that emits the items emitted by eight Singles, one after the other.static <T> Observable<T>Single. concat(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7, Single<? extends T> t8, Single<? extends T> t9)Returns an Observable that emits the items emitted by nine Singles, one after the other.static <T> Observable<T>Observable. concatDelayError(java.lang.Iterable<? extends Observable<? extends T>> sources)Concatenates the Iterable sequence of Observables into a single sequence by subscribing to each Observable, one after the other, one at a time and delays any errors till the all inner Observables terminate.static <T> Observable<T>Observable. concatDelayError(Observable<? extends Observable<? extends T>> sources)Concatenates the Observable sequence of Observables into a single sequence by subscribing to each inner Observable, one after the other, one at a time and delays any errors till the all inner and the outer Observables terminate.static <T> Observable<T>Observable. concatEager(java.lang.Iterable<? extends Observable<? extends T>> sources)Concatenates a sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(java.lang.Iterable<? extends Observable<? extends T>> sources, int capacityHint)Concatenates a sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources)Concatenates an Observable sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources, int capacityHint)Concatenates an Observable sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2)Concatenates two source Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3)Concatenates three sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4)Concatenates four sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5)Concatenates five sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6)Concatenates six sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7)Concatenates seven sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8)Concatenates eight sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8, Observable<? extends T> o9)Concatenates nine sources eagerly into a single stream of values.<R> Observable<R>Observable. concatMap(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable that emits items resulting from applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then emitting the items that result from concatenating those resulting Observables.<R> Observable<R>Observable. concatMapDelayError(Func1<? super T,? extends Observable<? extends R>> func)Maps each of the items into an Observable, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the inner Observables till all of them terminate.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper, int capacityHint)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper, int capacityHint, int maxConcurrent)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<R> Observable<R>Observable. concatMapIterable(Func1<? super T,? extends java.lang.Iterable<? extends R>> collectionSelector)Returns an Observable that concatenate each item emitted by the source Observable with the values in an Iterable corresponding to that item that is generated by a selector.Observable<T>Observable. concatWith(Observable<? extends T> t1)Returns an Observable that emits the items emitted from the current Observable, then the next, one after the other, without interleaving them.Observable<T>Single. concatWith(Single<? extends T> t1)Returns an Observable that emits the item emitted by the source Single, then the item emitted by the specified Single.Observable<java.lang.Boolean>Observable. contains(java.lang.Object element)Returns an Observable that emits a Boolean that indicates whether the source Observable emitted a specified item.Observable<java.lang.Integer>Observable. count()Returns an Observable that emits the count of the total number of items emitted by the source Observable.Observable<java.lang.Long>Observable. countLong()Returns an Observable that counts the total number of items emitted by the source Observable and emits this count as a 64-bit Long.static <T> Observable<T>Observable. create(Observable.OnSubscribe<T> f)This method requires advanced knowledge about building operators and data sources; please consider other standard methods first; Returns an Observable that will execute the specified function when aSubscribersubscribes to it.static <S,T>
Observable<T>Observable. create(AsyncOnSubscribe<S,T> asyncOnSubscribe)Returns an Observable that respects the back-pressure semantics.static <S,T>
Observable<T>Observable. create(SyncOnSubscribe<S,T> syncOnSubscribe)Returns an Observable that respects the back-pressure semantics.Observable<T>Observable. debounce(long timeout, java.util.concurrent.TimeUnit unit)Returns an Observable that mirrors the source Observable, except that it drops items emitted by the source Observable that are followed by newer items before a timeout value expires.Observable<T>Observable. debounce(long timeout, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that mirrors the source Observable, except that it drops items emitted by the source Observable that are followed by newer items before a timeout value expires on a specified Scheduler.<U> Observable<T>Observable. debounce(Func1<? super T,? extends Observable<U>> debounceSelector)Returns an Observable that mirrors the source Observable, except that it drops items emitted by the source Observable that are followed by another item within a computed debounce duration.Observable<T>Observable. defaultIfEmpty(T defaultValue)Returns an Observable that emits the items emitted by the source Observable or a specified default item if the source Observable is empty.static <T> Observable<T>Observable. defer(Func0<Observable<T>> observableFactory)Returns an Observable that calls an Observable factory to create an Observable for each new Observer that subscribes.Observable<T>Observable. delay(long delay, java.util.concurrent.TimeUnit unit)Returns an Observable that emits the items emitted by the source Observable shifted forward in time by a specified delay.Observable<T>Observable. delay(long delay, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits the items emitted by the source Observable shifted forward in time by a specified delay.<U,V>
Observable<T>Observable. delay(Func0<? extends Observable<U>> subscriptionDelay, Func1<? super T,? extends Observable<V>> itemDelay)Returns an Observable that delays the subscription to and emissions from the source Observable via another Observable on a per-item basis.<U> Observable<T>Observable. delay(Func1<? super T,? extends Observable<U>> itemDelay)Returns an Observable that delays the emissions of the source Observable via another Observable on a per-item basis.Observable<T>Observable. delaySubscription(long delay, java.util.concurrent.TimeUnit unit)Returns an Observable that delays the subscription to the source Observable by a given amount of time.Observable<T>Observable. delaySubscription(long delay, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that delays the subscription to the source Observable by a given amount of time, both waiting and subscribing on a given Scheduler.<U> Observable<T>Observable. delaySubscription(Func0<? extends Observable<U>> subscriptionDelay)Returns an Observable that delays the subscription to the source Observable until a second Observable emits an item.<U> Observable<T>Observable. delaySubscription(Observable<U> other)Returns an Observable that delays the subscription to this Observable until the other Observable emits an element or completes normally.<T2> Observable<T2>Observable. dematerialize()Returns an Observable that reverses the effect ofmaterializeby transforming theNotificationobjects emitted by the source Observable into the items or notifications they represent.Observable<T>Observable. distinct()Returns an Observable that emits all items emitted by the source Observable that are distinct.<U> Observable<T>Observable. distinct(Func1<? super T,? extends U> keySelector)Returns an Observable that emits all items emitted by the source Observable that are distinct according to a key selector function.Observable<T>Observable. distinctUntilChanged()Returns an Observable that emits all items emitted by the source Observable that are distinct from their immediate predecessors.<U> Observable<T>Observable. distinctUntilChanged(Func1<? super T,? extends U> keySelector)Returns an Observable that emits all items emitted by the source Observable that are distinct from their immediate predecessors, according to a key selector function.Observable<T>Observable. distinctUntilChanged(Func2<? super T,? super T,java.lang.Boolean> comparator)Returns an Observable that emits all items emitted by the source Observable that are distinct from their immediate predecessors when compared with each other via the provided comparator function.Observable<T>Observable. doAfterTerminate(Action0 action)Observable<T>Observable. doOnCompleted(Action0 onCompleted)Modifies the source Observable so that it invokes an action when it callsonCompleted.Observable<T>Observable. doOnEach(Action1<Notification<? super T>> onNotification)Modifies the source Observable so that it invokes an action for each item it emits.Observable<T>Observable. doOnEach(Observer<? super T> observer)Modifies the source Observable so that it notifies an Observer for each item and terminal event it emits.Observable<T>Observable. doOnError(Action1<java.lang.Throwable> onError)Modifies the source Observable so that it invokes an action if it callsonError.Observable<T>Observable. doOnNext(Action1<? super T> onNext)Modifies the source Observable so that it invokes an action when it callsonNext.Observable<T>Observable. doOnRequest(Action1<java.lang.Long> onRequest)Modifies the sourceObservableso that it invokes the given action when it receives a request for more items.Observable<T>Observable. doOnSubscribe(Action0 subscribe)Modifies the sourceObservableso that it invokes the given action when it is subscribed from its subscribers.Observable<T>Observable. doOnTerminate(Action0 onTerminate)Modifies the source Observable so that it invokes an action when it callsonCompletedoronError.Observable<T>Observable. doOnUnsubscribe(Action0 unsubscribe)Calls the unsubscribeAction0if the downstream unsubscribes the sequence.Observable<T>Observable. elementAt(int index)Returns an Observable that emits the single item at a specified index in a sequence of emissions from a source Observable.Observable<T>Observable. elementAtOrDefault(int index, T defaultValue)Returns an Observable that emits the item found at a specified index in a sequence of emissions from a source Observable, or a default item if that index is out of range.static <T> Observable<T>Observable. empty()Returns an Observable that emits no items to theObserverand immediately invokes itsonCompletedmethod.<T> Observable<T>Completable. endWith(Observable<T> next)Deprecated.UseCompletable.andThen(rx.Observable)instead.static <T> Observable<T>Observable. error(java.lang.Throwable exception)Observable<java.lang.Boolean>Observable. exists(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emitstrueif any item emitted by the source Observable satisfies a specified condition, otherwisefalse.Observable<T>Observable. filter(Func1<? super T,java.lang.Boolean> predicate)Filters items emitted by an Observable by only emitting those that satisfy a specified predicate.Observable<T>Observable. finallyDo(Action0 action)Deprecated.usedoAfterTerminate(Action0)instead.Observable<T>Observable. first()Returns an Observable that emits only the very first item emitted by the source Observable, or notifies of anNoSuchElementExceptionif the source Observable is empty.Observable<T>Observable. first(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits only the very first item emitted by the source Observable that satisfies a specified condition, or notifies of anNoSuchElementExceptionif no such items are emitted.Observable<T>Observable. firstOrDefault(T defaultValue)Returns an Observable that emits only the very first item emitted by the source Observable, or a default item if the source Observable completes without emitting anything.Observable<T>Observable. firstOrDefault(T defaultValue, Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits only the very first item emitted by the source Observable that satisfies a specified condition, or a default item if the source Observable emits no such items.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> func)Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> func, int maxConcurrent)Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to these Observables.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted, int maxConcurrent)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items, while limiting the maximum number of concurrent subscriptions to these Observables.<U,R>
Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)Returns an Observable that emits the results of a specified function to the pair of values emitted by the source Observable and a specified collection Observable.<U,R>
Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector, int maxConcurrent)Returns an Observable that emits the results of a specified function to the pair of values emitted by the source Observable and a specified collection Observable, while limiting the maximum number of concurrent subscriptions to these Observables.<R> Observable<R>Observable. flatMapIterable(Func1<? super T,? extends java.lang.Iterable<? extends R>> collectionSelector)Returns an Observable that merges each item emitted by the source Observable with the values in an Iterable corresponding to that item that is generated by a selector.<R> Observable<R>Observable. flatMapIterable(Func1<? super T,? extends java.lang.Iterable<? extends R>> collectionSelector, int maxConcurrent)Returns an Observable that merges each item emitted by the source Observable with the values in an Iterable corresponding to that item that is generated by a selector, while limiting the number of concurrent subscriptions to these Observables.<U,R>
Observable<R>Observable. flatMapIterable(Func1<? super T,? extends java.lang.Iterable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)Returns an Observable that emits the results of applying a function to the pair of values from the source Observable and an Iterable corresponding to that item that is generated by a selector.<U,R>
Observable<R>Observable. flatMapIterable(Func1<? super T,? extends java.lang.Iterable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector, int maxConcurrent)Returns an Observable that emits the results of applying a function to the pair of values from the source Observable and an Iterable corresponding to that item that is generated by a selector, while limiting the number of concurrent subscriptions to these Observables.<R> Observable<R>Single. flatMapObservable(Func1<? super T,? extends Observable<? extends R>> func)Returns an Observable that emits items based on applying a specified function to the item emitted by the source Observable, where that function returns an Observable.static <T> Observable<T>Observable. from(java.lang.Iterable<? extends T> iterable)Converts anIterablesequence into an Observable that emits the items in the sequence.static <T> Observable<T>Observable. from(java.util.concurrent.Future<? extends T> future)Converts aFutureinto an Observable.static <T> Observable<T>Observable. from(java.util.concurrent.Future<? extends T> future, long timeout, java.util.concurrent.TimeUnit unit)Converts aFutureinto an Observable, with a timeout on the Future.static <T> Observable<T>Observable. from(java.util.concurrent.Future<? extends T> future, Scheduler scheduler)Converts aFuture, operating on a specifiedScheduler, into an Observable.static <T> Observable<T>Observable. from(T[] array)Converts an Array into an Observable that emits the items in the Array.static <T> Observable<T>Observable. fromAsync(Action1<AsyncEmitter<T>> asyncEmitter, AsyncEmitter.BackpressureMode backpressure)Provides an API (via a cold Observable) that bridges the reactive world with the callback-style, generally non-backpressured world.static <T> Observable<T>Observable. fromCallable(java.util.concurrent.Callable<? extends T> func)Returns an Observable that, when an observer subscribes to it, invokes a function you specify and then emits the value returned from that function.<K> Observable<GroupedObservable<K,T>>Observable. groupBy(Func1<? super T,? extends K> keySelector)Groups the items emitted by anObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.<K,R>
Observable<GroupedObservable<K,R>>Observable. groupBy(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends R> elementSelector)Groups the items emitted by anObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.<K,R>
Observable<GroupedObservable<K,R>>Observable. groupBy(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends R> elementSelector, Func1<Action1<K>,java.util.Map<K,java.lang.Object>> evictingMapFactory)Groups the items emitted by anObservableaccording to a specified criterion, and emits these grouped items asGroupedObservables.<T2,D1,D2,R>
Observable<R>Observable. groupJoin(Observable<T2> right, Func1<? super T,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T,? super Observable<T2>,? extends R> resultSelector)Returns an Observable that correlates two Observables when they overlap in time and groups the results.Observable<T>Observable. ignoreElements()Ignores all items emitted by the source Observable and only callsonCompletedoronError.static Observable<java.lang.Long>Observable. interval(long initialDelay, long period, java.util.concurrent.TimeUnit unit)Returns an Observable that emits a0Lafter theinitialDelayand ever increasing numbers after eachperiodof time thereafter.static Observable<java.lang.Long>Observable. interval(long initialDelay, long period, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits a0Lafter theinitialDelayand ever increasing numbers after eachperiodof time thereafter, on a specifiedScheduler.static Observable<java.lang.Long>Observable. interval(long interval, java.util.concurrent.TimeUnit unit)Returns an Observable that emits a sequential number every specified interval of time.static Observable<java.lang.Long>Observable. interval(long interval, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits a sequential number every specified interval of time, on a specified Scheduler.Observable<java.lang.Boolean>Observable. isEmpty()Returns an Observable that emitstrueif the source Observable is empty, otherwisefalse.<TRight,TLeftDuration,TRightDuration,R>
Observable<R>Observable. join(Observable<TRight> right, Func1<T,Observable<TLeftDuration>> leftDurationSelector, Func1<TRight,Observable<TRightDuration>> rightDurationSelector, Func2<T,TRight,R> resultSelector)Correlates the items emitted by two Observables based on overlapping durations.static <T> Observable<T>Observable. just(T value)Returns an Observable that emits a single item and then completes.static <T> Observable<T>Observable. just(T t1, T t2)Converts two items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3)Converts three items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4)Converts four items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5)Converts five items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5, T t6)Converts six items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5, T t6, T t7)Converts seven items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5, T t6, T t7, T t8)Converts eight items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5, T t6, T t7, T t8, T t9)Converts nine items into an Observable that emits those items.static <T> Observable<T>Observable. just(T t1, T t2, T t3, T t4, T t5, T t6, T t7, T t8, T t9, T t10)Converts ten items into an Observable that emits those items.Observable<T>Observable. last()Returns an Observable that emits the last item emitted by the source Observable or notifies observers of aNoSuchElementExceptionif the source Observable is empty.Observable<T>Observable. last(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits only the last item emitted by the source Observable that satisfies a given condition, or notifies of aNoSuchElementExceptionif no such items are emitted.Observable<T>Observable. lastOrDefault(T defaultValue)Returns an Observable that emits only the last item emitted by the source Observable, or a default item if the source Observable completes without emitting any items.Observable<T>Observable. lastOrDefault(T defaultValue, Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits only the last item emitted by the source Observable that satisfies a specified condition, or a default item if no such item is emitted by the source Observable.<R> Observable<R>Observable. lift(Observable.Operator<? extends R,? super T> operator)This method requires advanced knowledge about building operators; please consider other standard composition methods first; Lifts a function to the current Observable and returns a new Observable that when subscribed to will pass the values of the current Observable through the Operator function.Observable<T>Observable. limit(int count)Returns an Observable that emits only the firstcountitems emitted by the source Observable.<R> Observable<R>Observable. map(Func1<? super T,? extends R> func)Returns an Observable that applies a specified function to each item emitted by the source Observable and emits the results of these function applications.private <R> Observable<R>Observable. mapNotification(Func1<? super T,? extends R> onNext, Func1<? super java.lang.Throwable,? extends R> onError, Func0<? extends R> onCompleted)Observable<Notification<T>>Observable. materialize()Returns an Observable that represents all of the emissions and notifications from the source Observable into emissions marked with their original types withinNotificationobjects.static <T> Observable<T>Observable. merge(java.lang.Iterable<? extends Observable<? extends T>> sequences)Flattens an Iterable of Observables into one Observable, without any transformation.static <T> Observable<T>Observable. merge(java.lang.Iterable<? extends Observable<? extends T>> sequences, int maxConcurrent)Flattens an Iterable of Observables into one Observable, without any transformation, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation, while limiting the maximum number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends T>[] sequences)Flattens an Array of Observables into one Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T>[] sequences, int maxConcurrent)Flattens an Array of Observables into one Observable, without any transformation, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2)Flattens two Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Flattens three Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Flattens four Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Flattens five Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Flattens six Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Flattens seven Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Flattens eight Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Flattens nine Observables into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2)Flattens two Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3)Flattens three Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4)Flattens four Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5)Flattens five Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6)Flattens six Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7)Flattens seven Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7, Single<? extends T> t8)Flattens eight Singles into a single Observable, without any transformation.static <T> Observable<T>Single. merge(Single<? extends T> t1, Single<? extends T> t2, Single<? extends T> t3, Single<? extends T> t4, Single<? extends T> t5, Single<? extends T> t6, Single<? extends T> t7, Single<? extends T> t8, Single<? extends T> t9)Flattens nine Singles into a single Observable, without any transformation.static <T> Observable<T>Observable. mergeDelayError(java.lang.Iterable<? extends Observable<? extends T>> sequences)Flattens an Iterable of Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(java.lang.Iterable<? extends Observable<? extends T>> sequences, int maxConcurrent)Flattens an Iterable of Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2)Flattens two Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Flattens three Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Flattens four Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Flattens five Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Flattens six Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Flattens seven Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Flattens eight Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Flattens nine Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.Observable<T>Observable. mergeWith(Observable<? extends T> t1)Flattens this and another Observable into a single Observable, without any transformation.Observable<T>Single. mergeWith(Single<? extends T> t1)Flattens this and another Single into a single Observable, without any transformation.Observable<Observable<T>>Observable. nest()Converts the sourceObservable<T>into anObservable<Observable<T>>that emits the source Observable as its single emission.static <T> Observable<T>Observable. never()Returns an Observable that never sends any items or notifications to anObserver.Observable<T>Observable. observeOn(Scheduler scheduler)Modifies an Observable to perform its emissions and notifications on a specifiedScheduler, asynchronously with a bounded buffer ofRxRingBuffer.SIZEslots.Observable<T>Observable. observeOn(Scheduler scheduler, boolean delayError)Modifies an Observable to perform its emissions and notifications on a specifiedScheduler, asynchronously with a bounded buffer and optionally delays onError notifications.Observable<T>Observable. observeOn(Scheduler scheduler, boolean delayError, int bufferSize)Modifies an Observable to perform its emissions and notifications on a specifiedScheduler, asynchronously with a bounded buffer of configurable size and optionally delays onError notifications.Observable<T>Observable. observeOn(Scheduler scheduler, int bufferSize)Modifies an Observable to perform its emissions and notifications on a specifiedScheduler, asynchronously with a bounded buffer of configurable size.<R> Observable<R>Observable. ofType(java.lang.Class<R> klass)Filters the items emitted by an Observable, only emitting those of the specified type.Observable<T>Observable. onBackpressureBuffer()Instructs an Observable that is emitting items faster than its observer can consume them to buffer these items indefinitely until they can be emitted.Observable<T>Observable. onBackpressureBuffer(long capacity)Instructs an Observable that is emitting items faster than its observer can consume them to buffer up to a given amount of items until they can be emitted.Observable<T>Observable. onBackpressureBuffer(long capacity, Action0 onOverflow)Instructs an Observable that is emitting items faster than its observer can consume them to buffer up to a given amount of items until they can be emitted.Observable<T>Observable. onBackpressureBuffer(long capacity, Action0 onOverflow, BackpressureOverflow.Strategy overflowStrategy)Instructs an Observable that is emitting items faster than its observer can consume them to buffer up to a given amount of items until they can be emitted.Observable<T>Observable. onBackpressureDrop()Instructs an Observable that is emitting items faster than its observer can consume them to discard, rather than emit, those items that its observer is not prepared to observe.Observable<T>Observable. onBackpressureDrop(Action1<? super T> onDrop)Instructs an Observable that is emitting items faster than its observer can consume them to discard, rather than emit, those items that its observer is not prepared to observe.Observable<T>Observable. onBackpressureLatest()Instructs an Observable that is emitting items faster than its observer can consume them to hold onto the latest value and emit that on request.Observable<T>Observable. onErrorResumeNext(Func1<java.lang.Throwable,? extends Observable<? extends T>> resumeFunction)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters an error.Observable<T>Observable. onErrorResumeNext(Observable<? extends T> resumeSequence)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters an error.Observable<T>Observable. onErrorReturn(Func1<java.lang.Throwable,? extends T> resumeFunction)Instructs an Observable to emit an item (returned by a specified function) rather than invokingonErrorif it encounters an error.Observable<T>Observable. onExceptionResumeNext(Observable<? extends T> resumeSequence)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters anException.Observable<T>Observable. onTerminateDetach()Nulls out references to the upstream producer and downstream Subscriber if the sequence is terminated or downstream unsubscribes.<R> Observable<R>Observable. publish(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the underlying sequence.static Observable<java.lang.Integer>Observable. range(int start, int count)Returns an Observable that emits a sequence of Integers within a specified range.static Observable<java.lang.Integer>Observable. range(int start, int count, Scheduler scheduler)Returns an Observable that emits a sequence of Integers within a specified range, on a specified Scheduler.Observable<T>Observable. rebatchRequests(int n)Requestsninitially from the upstream and then 75% ofnsubsequently after 75% ofnvalues have been emitted to the downstream.<R> Observable<R>Observable. reduce(R initialValue, Func2<R,? super T,R> accumulator)Returns an Observable that applies a specified accumulator function to the first item emitted by a source Observable and a specified seed value, then feeds the result of that function along with the second item emitted by an Observable into the same function, and so on until all items have been emitted by the source Observable, emitting the final result from the final call to your function as its sole item.Observable<T>Observable. reduce(Func2<T,T,T> accumulator)Returns an Observable that applies a specified accumulator function to the first item emitted by a source Observable, then feeds the result of that function along with the second item emitted by the source Observable into the same function, and so on until all items have been emitted by the source Observable, and emits the final result from the final call to your function as its sole item.Observable<T>Observable. repeat()Returns an Observable that repeats the sequence of items emitted by the source Observable indefinitely.Observable<T>Observable. repeat(long count)Returns an Observable that repeats the sequence of items emitted by the source Observable at mostcounttimes.Observable<T>Observable. repeat(long count, Scheduler scheduler)Returns an Observable that repeats the sequence of items emitted by the source Observable at mostcounttimes, on a particular Scheduler.Observable<T>Observable. repeat(Scheduler scheduler)Returns an Observable that repeats the sequence of items emitted by the source Observable indefinitely, on a particular Scheduler.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits items that are the results of invoking a specified selector on the items emitted by aConnectableObservablethat shares a single subscription to the source Observable.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replayingbufferSizenotifications.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying a maximum ofbufferSizeitems.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable.Observable<T>Observable. retry()Returns an Observable that mirrors the source Observable, resubscribing to it if it callsonError(infinite retry count).Observable<T>Observable. retry(long count)Returns an Observable that mirrors the source Observable, resubscribing to it if it callsonErrorup to a specified number of retries.Observable<T>Observable. retry(Func2<java.lang.Integer,java.lang.Throwable,java.lang.Boolean> predicate)Returns an Observable that mirrors the source Observable, resubscribing to it if it callsonErrorand the predicate returns true for that specific exception and retry count.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Observable<T>Observable. sample(long period, java.util.concurrent.TimeUnit unit)Returns an Observable that emits the most recently emitted item (if any) emitted by the source Observable within periodic time intervals.Observable<T>Observable. sample(long period, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits the most recently emitted item (if any) emitted by the source Observable within periodic time intervals, where the intervals are defined on a particular Scheduler.<U> Observable<T>Observable. sample(Observable<U> sampler)Returns an Observable that, when the specifiedsamplerObservable emits an item or completes, emits the most recently emitted item (if any) emitted by the source Observable since the previous emission from thesamplerObservable.<R> Observable<R>Observable. scan(R initialValue, Func2<R,? super T,R> accumulator)Returns an Observable that applies a specified accumulator function to the first item emitted by a source Observable and a seed value, then feeds the result of that function along with the second item emitted by the source Observable into the same function, and so on until all items have been emitted by the source Observable, emitting the result of each of these iterations.Observable<T>Observable. scan(Func2<T,T,T> accumulator)Returns an Observable that applies a specified accumulator function to the first item emitted by a source Observable, then feeds the result of that function along with the second item emitted by the source Observable into the same function, and so on until all items have been emitted by the source Observable, emitting the result of each of these iterations.static <T> Observable<java.lang.Boolean>Observable. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second)Returns an Observable that emits a Boolean value that indicates whether two Observable sequences are the same by comparing the items emitted by each Observable pairwise.static <T> Observable<java.lang.Boolean>Observable. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second, Func2<? super T,? super T,java.lang.Boolean> equality)Returns an Observable that emits a Boolean value that indicates whether two Observable sequences are the same by comparing the items emitted by each Observable pairwise based on the results of a specified equality function.Observable<T>Observable. serialize()Forces an Observable's emissions and notifications to be serialized and for it to obey the Observable contract in other ways.Observable<T>Observable. share()Returns a newObservablethat multicasts (shares) the originalObservable.Observable<T>Observable. single()Returns an Observable that emits the single item emitted by the source Observable, if that Observable emits only a single item.Observable<T>Observable. single(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits the single item emitted by the source Observable that matches a specified predicate, if that Observable emits one such item.Observable<T>Observable. singleOrDefault(T defaultValue)Returns an Observable that emits the single item emitted by the source Observable, if that Observable emits only a single item, or a default item if the source Observable emits no items.Observable<T>Observable. singleOrDefault(T defaultValue, Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits the single item emitted by the source Observable that matches a predicate, if that Observable emits only one such item, or a default item if the source Observable emits no such items.Observable<T>Observable. skip(int count)Returns an Observable that skips the firstcountitems emitted by the source Observable and emits the remainder.Observable<T>Observable. skip(long time, java.util.concurrent.TimeUnit unit)Returns an Observable that skips values emitted by the source Observable before a specified time window elapses.Observable<T>Observable. skip(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that skips values emitted by the source Observable before a specified time window on a specifiedSchedulerelapses.Observable<T>Observable. skipLast(int count)Returns an Observable that drops a specified number of items from the end of the sequence emitted by the source Observable.Observable<T>Observable. skipLast(long time, java.util.concurrent.TimeUnit unit)Returns an Observable that drops items emitted by the source Observable during a specified time window before the source completes.Observable<T>Observable. skipLast(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that drops items emitted by the source Observable during a specified time window (defined on a specified scheduler) before the source completes.<U> Observable<T>Observable. skipUntil(Observable<U> other)Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.Observable<T>Observable. skipWhile(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds true, but emits all further source items as soon as the condition becomes false.<T> Observable<T>Completable. startWith(Observable<T> other)Returns an Observable which first delivers the events of the other Observable then runs this Completable.Observable<T>Observable. startWith(java.lang.Iterable<T> values)Returns an Observable that emits the items in a specifiedIterablebefore it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(Observable<T> values)Returns an Observable that emits the items in a specifiedObservablebefore it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1)Returns an Observable that emits a specified item before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4, T t5)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4, T t5, T t6)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4, T t5, T t6, T t7)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4, T t5, T t6, T t7, T t8)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. startWith(T t1, T t2, T t3, T t4, T t5, T t6, T t7, T t8, T t9)Returns an Observable that emits the specified items before it begins to emit items emitted by the source Observable.Observable<T>Observable. subscribeOn(Scheduler scheduler)Asynchronously subscribes Observers to this Observable on the specifiedScheduler.Observable<T>Observable. switchIfEmpty(Observable<? extends T> alternate)Returns an Observable that emits the items emitted by the source Observable or the items of an alternate Observable if the source Observable is empty.<R> Observable<R>Observable. switchMap(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable by applying a function that you supply to each item emitted by the source Observable that returns an Observable, and then emitting the items emitted by the most recently emitted of these Observables.<R> Observable<R>Observable. switchMapDelayError(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable by applying a function that you supply to each item emitted by the source Observable that returns an Observable, and then emitting the items emitted by the most recently emitted of these Observables and delays any error until all Observables terminate.static <T> Observable<T>Observable. switchOnNext(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables.static <T> Observable<T>Observable. switchOnNextDelayError(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables and delays any exception until all Observables terminate.Observable<T>Observable. take(int count)Returns an Observable that emits only the firstcountitems emitted by the source Observable.Observable<T>Observable. take(long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits those items emitted by source Observable before a specified time runs out.Observable<T>Observable. take(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits those items emitted by source Observable before a specified time (on a specified Scheduler) runs out.Observable<T>Observable. takeFirst(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits only the very first item emitted by the source Observable that satisfies a specified condition.Observable<T>Observable. takeLast(int count)Returns an Observable that emits at most the lastcountitems emitted by the source Observable.Observable<T>Observable. takeLast(int count, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits at most a specified number of items from the source Observable that were emitted in a specified window of time before the Observable completed.Observable<T>Observable. takeLast(int count, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits at most a specified number of items from the source Observable that were emitted in a specified window of time before the Observable completed, where the timing information is provided by a given Scheduler.Observable<T>Observable. takeLast(long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits the items from the source Observable that were emitted in a specified window of time before the Observable completed.Observable<T>Observable. takeLast(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits the items from the source Observable that were emitted in a specified window of time before the Observable completed, where the timing information is provided by a specified Scheduler.Observable<java.util.List<T>>Observable. takeLastBuffer(int count)Returns an Observable that emits a single List containing at most the lastcountelements emitted by the source Observable.Observable<java.util.List<T>>Observable. takeLastBuffer(int count, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits a single List containing at mostcountitems from the source Observable that were emitted during a specified window of time before the source Observable completed.Observable<java.util.List<T>>Observable. takeLastBuffer(int count, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits a single List containing at mostcountitems from the source Observable that were emitted during a specified window of time (on a specified Scheduler) before the source Observable completed.Observable<java.util.List<T>>Observable. takeLastBuffer(long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits a single List containing those items from the source Observable that were emitted during a specified window of time before the source Observable completed.Observable<java.util.List<T>>Observable. takeLastBuffer(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits a single List containing those items from the source Observable that were emitted during a specified window of time before the source Observable completed, where the timing information is provided by the given Scheduler.Observable<T>Observable. takeUntil(Func1<? super T,java.lang.Boolean> stopPredicate)Returns an Observable that emits items emitted by the source Observable, checks the specified predicate for each item, and then completes if the condition is satisfied.<E> Observable<T>Observable. takeUntil(Observable<? extends E> other)Returns an Observable that emits the items emitted by the source Observable until a second Observable emits an item.Observable<T>Observable. takeWhile(Func1<? super T,java.lang.Boolean> predicate)Returns an Observable that emits items emitted by the source Observable so long as each item satisfied a specified condition, and then completes as soon as this condition is not satisfied.Observable<T>Observable. throttleFirst(long windowDuration, java.util.concurrent.TimeUnit unit)Returns an Observable that emits only the first item emitted by the source Observable during sequential time windows of a specified duration.Observable<T>Observable. throttleFirst(long skipDuration, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits only the first item emitted by the source Observable during sequential time windows of a specified duration, where the windows are managed by a specified Scheduler.Observable<T>Observable. throttleLast(long intervalDuration, java.util.concurrent.TimeUnit unit)Returns an Observable that emits only the last item emitted by the source Observable during sequential time windows of a specified duration.Observable<T>Observable. throttleLast(long intervalDuration, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits only the last item emitted by the source Observable during sequential time windows of a specified duration, where the duration is governed by a specified Scheduler.Observable<T>Observable. throttleWithTimeout(long timeout, java.util.concurrent.TimeUnit unit)Returns an Observable that only emits those items emitted by the source Observable that are not followed by another emitted item within a specified time window.Observable<T>Observable. throttleWithTimeout(long timeout, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that only emits those items emitted by the source Observable that are not followed by another emitted item within a specified time window, where the time window is governed by a specified Scheduler.Observable<TimeInterval<T>>Observable. timeInterval()Returns an Observable that emits records of the time interval between consecutive items emitted by the source Observable.Observable<TimeInterval<T>>Observable. timeInterval(Scheduler scheduler)Returns an Observable that emits records of the time interval between consecutive items emitted by the source Observable, where this interval is computed on a specified Scheduler.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Observable<? extends T> other)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Observable<? extends T> other, Scheduler scheduler)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item using a specified Scheduler.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Scheduler scheduler)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item, where this policy is governed on a specified Scheduler.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector)Returns an Observable that mirrors the source Observable, but notifies observers of aTimeoutExceptionif either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but switches to a fallback Observable if either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<V> Observable<T>Observable. timeout(Func1<? super T,? extends Observable<V>> timeoutSelector)Returns an Observable that mirrors the source Observable, but notifies observers of aTimeoutExceptionif an item emitted by the source Observable doesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by an Observable that is a function of the previous item.<V> Observable<T>Observable. timeout(Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but that switches to a fallback Observable if an item emitted by the source Observable doesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by an Observable that is a function of the previous item.static Observable<java.lang.Long>Observable. timer(long initialDelay, long period, java.util.concurrent.TimeUnit unit)Deprecated.useinterval(long, long, TimeUnit)insteadstatic Observable<java.lang.Long>Observable. timer(long initialDelay, long period, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Deprecated.useinterval(long, long, TimeUnit, Scheduler)insteadstatic Observable<java.lang.Long>Observable. timer(long delay, java.util.concurrent.TimeUnit unit)Returns an Observable that emits one item after a specified delay, and then completes.static Observable<java.lang.Long>Observable. timer(long delay, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits one item after a specified delay, on a specified Scheduler, and then completes.Observable<Timestamped<T>>Observable. timestamp()Returns an Observable that emits each item emitted by the source Observable, wrapped in aTimestampedobject.Observable<Timestamped<T>>Observable. timestamp(Scheduler scheduler)Returns an Observable that emits each item emitted by the source Observable, wrapped in aTimestampedobject whose timestamps are provided by a specified Scheduler.Observable<java.util.List<T>>Observable. toList()Returns an Observable that emits a single item, a list composed of all the items emitted by the source Observable.<K> Observable<java.util.Map<K,T>>Observable. toMap(Func1<? super T,? extends K> keySelector)Returns an Observable that emits a single HashMap containing all items emitted by the source Observable, mapped by the keys returned by a specifiedkeySelectorfunction.<K,V>
Observable<java.util.Map<K,V>>Observable. toMap(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends V> valueSelector)Returns an Observable that emits a single HashMap containing values corresponding to items emitted by the source Observable, mapped by the keys returned by a specifiedkeySelectorfunction.<K,V>
Observable<java.util.Map<K,V>>Observable. toMap(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends V> valueSelector, Func0<? extends java.util.Map<K,V>> mapFactory)Returns an Observable that emits a single Map, returned by a specifiedmapFactoryfunction, that contains keys and values extracted from the items emitted by the source Observable.<K> Observable<java.util.Map<K,java.util.Collection<T>>>Observable. toMultimap(Func1<? super T,? extends K> keySelector)Returns an Observable that emits a single HashMap that contains an ArrayList of items emitted by the source Observable keyed by a specifiedkeySelectorfunction.<K,V>
Observable<java.util.Map<K,java.util.Collection<V>>>Observable. toMultimap(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends V> valueSelector)Returns an Observable that emits a single HashMap that contains an ArrayList of values extracted by a specifiedvalueSelectorfunction from items emitted by the source Observable, keyed by a specifiedkeySelectorfunction.<K,V>
Observable<java.util.Map<K,java.util.Collection<V>>>Observable. toMultimap(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends V> valueSelector, Func0<? extends java.util.Map<K,java.util.Collection<V>>> mapFactory)Returns an Observable that emits a single Map, returned by a specifiedmapFactoryfunction, that contains an ArrayList of values, extracted by a specifiedvalueSelectorfunction from items emitted by the source Observable and keyed by thekeySelectorfunction.<K,V>
Observable<java.util.Map<K,java.util.Collection<V>>>Observable. toMultimap(Func1<? super T,? extends K> keySelector, Func1<? super T,? extends V> valueSelector, Func0<? extends java.util.Map<K,java.util.Collection<V>>> mapFactory, Func1<? super K,? extends java.util.Collection<V>> collectionFactory)Returns an Observable that emits a single Map, returned by a specifiedmapFactoryfunction, that contains a custom collection of values, extracted by a specifiedvalueSelectorfunction from items emitted by the source Observable, and keyed by thekeySelectorfunction.<T> Observable<T>Completable. toObservable()Returns an Observable which when subscribed to subscribes to this Completable and relays the terminal events to the subscriber.Observable<T>Single. toObservable()Converts this Single into anObservable.Observable<java.util.List<T>>Observable. toSortedList()Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order.Observable<java.util.List<T>>Observable. toSortedList(int initialCapacity)Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order.Observable<java.util.List<T>>Observable. toSortedList(Func2<? super T,? super T,java.lang.Integer> sortFunction)Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order based on a specified comparison function.Observable<java.util.List<T>>Observable. toSortedList(Func2<? super T,? super T,java.lang.Integer> sortFunction, int initialCapacity)Returns an Observable that emits a list that contains the items emitted by the source Observable, in a sorted order based on a specified comparison function.Observable<T>Observable. unsubscribeOn(Scheduler scheduler)Modifies the source Observable so that subscribers will unsubscribe from it on a specifiedScheduler.static <T,Resource>
Observable<T>Observable. using(Func0<Resource> resourceFactory, Func1<? super Resource,? extends Observable<? extends T>> observableFactory, Action1<? super Resource> disposeAction)Constructs an Observable that creates a dependent resource object which is disposed of on unsubscription.static <T,Resource>
Observable<T>Observable. using(Func0<Resource> resourceFactory, Func1<? super Resource,? extends Observable<? extends T>> observableFactory, Action1<? super Resource> disposeAction, boolean disposeEagerly)Constructs an Observable that creates a dependent resource object which is disposed of just before termination if you have setdisposeEagerlytotrueand unsubscription does not occur before termination.Observable<Observable<T>>Observable. window(int count)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(int count, int skip)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit, int count, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, int count)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, int count, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.<TClosing> Observable<Observable<T>>Observable. window(Func0<? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<TOpening,TClosing>
Observable<Observable<T>>Observable. window(Observable<? extends TOpening> windowOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<U> Observable<Observable<T>>Observable. window(Observable<U> boundary)Returns an Observable that emits non-overlapping windows of items it collects from the source Observable where the boundary of each window is determined by the items emitted from a specified boundary-governing Observable.<R> Observable<R>Observable. withLatestFrom(java.lang.Iterable<Observable<?>> others, FuncN<R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<R> Observable<R>Observable. withLatestFrom(Observable<?>[] others, FuncN<R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<U,R>
Observable<R>Observable. withLatestFrom(Observable<? extends U> other, Func2<? super T,? super U,? extends R> resultSelector)Merges the specified Observable into this Observable sequence by using theresultSelectorfunction only when the source Observable (this instance) emits an item.<T1,T2,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Func3<? super T,? super T1,? super T2,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Func6<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Func7<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Observable<T1> o7, Func8<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Observable<T1> o7, Observable<T2> o8, Func9<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Func4<? super T,? super T1,? super T2,? super T3,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Observable<T4> o4, Func5<? super T,? super T1,? super T2,? super T3,? super T4,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.static <R> Observable<R>Observable. zip(java.lang.Iterable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an Iterable of other Observables.static <R> Observable<R>Observable. zip(Observable<?>[] ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an array of other Observables.static <R> Observable<R>Observable. zip(Observable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of n items emitted, in sequence, by the n Observables emitted by a specified Observable.static <T1,T2,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Func2<? super T1,? super T2,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two other Observables.static <T1,T2,T3,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Func3<? super T1,? super T2,? super T3,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of three items emitted, in sequence, by three other Observables.static <T1,T2,T3,T4,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four other Observables.static <T1,T2,T3,T4,T5,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of five items emitted, in sequence, by five other Observables.static <T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of six items emitted, in sequence, by six other Observables.static <T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of seven items emitted, in sequence, by seven other Observables.static <T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of eight items emitted, in sequence, by eight other Observables.static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Observable<? extends T9> o9, Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of nine items emitted, in sequence, by nine other Observables.<T2,R>
Observable<R>Observable. zipWith(java.lang.Iterable<? extends T2> other, Func2<? super T,? super T2,? extends R> zipFunction)Returns an Observable that emits items that are the result of applying a specified function to pairs of values, one each from the source Observable and a specified Iterable sequence.<T2,R>
Observable<R>Observable. zipWith(Observable<? extends T2> other, Func2<? super T,? super T2,? extends R> zipFunction)Returns an Observable that emits items that are the result of applying a specified function to pairs of values, one each from the source Observable and another specified Observable.Methods in rx that return types with arguments of type Observable Modifier and Type Method Description Observable<Observable<T>>Observable. nest()Converts the sourceObservable<T>into anObservable<Observable<T>>that emits the source Observable as its single emission.private Single<Observable<T>>Single. nest()INTERNAL: Used with lift and operators.Observable<Observable<T>>Observable. window(int count)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(int count, int skip)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit, int count, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, long timeshift, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, int count)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, int count, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.Observable<Observable<T>>Observable. window(long timespan, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits windows of items it collects from the source Observable.<TClosing> Observable<Observable<T>>Observable. window(Func0<? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<TOpening,TClosing>
Observable<Observable<T>>Observable. window(Observable<? extends TOpening> windowOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<U> Observable<Observable<T>>Observable. window(Observable<U> boundary)Returns an Observable that emits non-overlapping windows of items it collects from the source Observable where the boundary of each window is determined by the items emitted from a specified boundary-governing Observable.Methods in rx with parameters of type Observable Modifier and Type Method Description static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2)Given two Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3)Given three Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4)Given four Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5)Given five Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6)Given six Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7)Given seven Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8)Given eight Observables, mirrors the one that first either emits an item or sends a termination notification.static <T> Observable<T>Observable. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8, Observable<? extends T> o9)Given nine Observables, mirrors the one that first either emits an item or sends a termination notification.Observable<T>Observable. ambWith(Observable<? extends T> t1)Mirrors the Observable (current or provided) that first either emits an item or sends a termination notification.<T> Observable<T>Completable. andThen(Observable<T> next)Returns an Observable which will subscribe to this Completable and once that is completed then will subscribe to thenextObservable.<TOpening,TClosing>
Observable<java.util.List<T>>Observable. buffer(Observable<? extends TOpening> bufferOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> bufferClosingSelector)Returns an Observable that emits buffers of items it collects from the source Observable.<B> Observable<java.util.List<T>>Observable. buffer(Observable<B> boundary)Returns an Observable that emits non-overlapping buffered items from the source Observable each time the specified boundary Observable emits an item.<B> Observable<java.util.List<T>>Observable. buffer(Observable<B> boundary, int initialCapacity)Returns an Observable that emits non-overlapping buffered items from the source Observable each time the specified boundary Observable emits an item.static <T1,T2,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Func2<? super T1,? super T2,? extends R> combineFunction)Combines two source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from either of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Func3<? super T1,? super T2,? super T3,? extends R> combineFunction)Combines three source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> combineFunction)Combines four source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> combineFunction)Combines five source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> combineFunction)Combines six source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> combineFunction)Combines seven source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> combineFunction)Combines eight source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
Observable<R>Observable. combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Observable<? extends T9> o9, Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> combineFunction)Combines nine source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static CompletableCompletable. concat(Observable<? extends Completable> sources)Returns a Completable which completes only when all sources complete, one after another.static CompletableCompletable. concat(Observable<? extends Completable> sources, int prefetch)Returns a Completable which completes only when all sources complete, one after another.static <T> Observable<T>Observable. concat(Observable<? extends Observable<? extends T>> observables)Returns an Observable that emits the items emitted by each of the Observables emitted by the source Observable, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2)Returns an Observable that emits the items emitted by two Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Returns an Observable that emits the items emitted by three Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Returns an Observable that emits the items emitted by four Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Returns an Observable that emits the items emitted by five Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Returns an Observable that emits the items emitted by six Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Returns an Observable that emits the items emitted by seven Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Returns an Observable that emits the items emitted by eight Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concat(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Returns an Observable that emits the items emitted by nine Observables, one after the other, without interleaving them.static <T> Observable<T>Observable. concatDelayError(Observable<? extends Observable<? extends T>> sources)Concatenates the Observable sequence of Observables into a single sequence by subscribing to each inner Observable, one after the other, one at a time and delays any errors till the all inner and the outer Observables terminate.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources)Concatenates an Observable sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources, int capacityHint)Concatenates an Observable sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2)Concatenates two source Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3)Concatenates three sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4)Concatenates four sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5)Concatenates five sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6)Concatenates six sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7)Concatenates seven sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8)Concatenates eight sources eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8, Observable<? extends T> o9)Concatenates nine sources eagerly into a single stream of values.Observable<T>Observable. concatWith(Observable<? extends T> t1)Returns an Observable that emits the items emitted from the current Observable, then the next, one after the other, without interleaving them.<U> Observable<T>Observable. delaySubscription(Observable<U> other)Returns an Observable that delays the subscription to this Observable until the other Observable emits an element or completes normally.Single<T>Single. delaySubscription(Observable<?> other)Returns a Single that delays the subscription to this Single until the Observable completes.<T> Observable<T>Completable. endWith(Observable<T> next)Deprecated.UseCompletable.andThen(rx.Observable)instead.static CompletableCompletable. fromObservable(Observable<?> flowable)Returns a Completable instance that subscribes to the given flowable, ignores all values and emits only the terminal event.<T2,D1,D2,R>
Observable<R>Observable. groupJoin(Observable<T2> right, Func1<? super T,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T,? super Observable<T2>,? extends R> resultSelector)Returns an Observable that correlates two Observables when they overlap in time and groups the results.<TRight,TLeftDuration,TRightDuration,R>
Observable<R>Observable. join(Observable<TRight> right, Func1<T,Observable<TLeftDuration>> leftDurationSelector, Func1<TRight,Observable<TRightDuration>> rightDurationSelector, Func2<T,TRight,R> resultSelector)Correlates the items emitted by two Observables based on overlapping durations.static CompletableCompletable. merge(Observable<? extends Completable> sources)Returns a Completable instance that subscribes to all sources at once and completes only when all source Completables complete or one of them emits an error.static CompletableCompletable. merge(Observable<? extends Completable> sources, int maxConcurrency)Returns a Completable instance that keeps subscriptions to a limited number of sources at once and completes only when all source Completables complete or one of them emits an error.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation, while limiting the maximum number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends T>[] sequences)Flattens an Array of Observables into one Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T>[] sequences, int maxConcurrent)Flattens an Array of Observables into one Observable, without any transformation, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2)Flattens two Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Flattens three Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Flattens four Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Flattens five Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Flattens six Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Flattens seven Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Flattens eight Observables into a single Observable, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Flattens nine Observables into a single Observable, without any transformation.protected static CompletableCompletable. merge0(Observable<? extends Completable> sources, int maxConcurrency, boolean delayErrors)Returns a Completable instance that keeps subscriptions to a limited number of sources at once and completes only when all source Completables terminate in one way or another, combining any exceptions thrown by either the sources Observable or the inner Completable instances.static CompletableCompletable. mergeDelayError(Observable<? extends Completable> sources)Returns a Completable that subscribes to all Completables in the source sequence and delays any error emitted by either the sources observable or any of the inner Completables until all of them terminate in a way or another.static CompletableCompletable. mergeDelayError(Observable<? extends Completable> sources, int maxConcurrency)Returns a Completable that subscribes to a limited number of inner Completables at once in the source sequence and delays any error emitted by either the sources observable or any of the inner Completables until all of them terminate in a way or another.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2)Flattens two Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3)Flattens three Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4)Flattens four Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5)Flattens five Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6)Flattens six Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7)Flattens seven Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8)Flattens eight Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends T> t1, Observable<? extends T> t2, Observable<? extends T> t3, Observable<? extends T> t4, Observable<? extends T> t5, Observable<? extends T> t6, Observable<? extends T> t7, Observable<? extends T> t8, Observable<? extends T> t9)Flattens nine Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.Observable<T>Observable. mergeWith(Observable<? extends T> t1)Flattens this and another Observable into a single Observable, without any transformation.Observable<T>Observable. onErrorResumeNext(Observable<? extends T> resumeSequence)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters an error.Observable<T>Observable. onExceptionResumeNext(Observable<? extends T> resumeSequence)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters anException.<U> Observable<T>Observable. sample(Observable<U> sampler)Returns an Observable that, when the specifiedsamplerObservable emits an item or completes, emits the most recently emitted item (if any) emitted by the source Observable since the previous emission from thesamplerObservable.static <T> Observable<java.lang.Boolean>Observable. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second)Returns an Observable that emits a Boolean value that indicates whether two Observable sequences are the same by comparing the items emitted by each Observable pairwise.static <T> Observable<java.lang.Boolean>Observable. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second, Func2<? super T,? super T,java.lang.Boolean> equality)Returns an Observable that emits a Boolean value that indicates whether two Observable sequences are the same by comparing the items emitted by each Observable pairwise based on the results of a specified equality function.<U> Observable<T>Observable. skipUntil(Observable<U> other)Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.<T> Observable<T>Completable. startWith(Observable<T> other)Returns an Observable which first delivers the events of the other Observable then runs this Completable.Observable<T>Observable. startWith(Observable<T> values)Returns an Observable that emits the items in a specifiedObservablebefore it begins to emit items emitted by the source Observable.(package private) static <T> SubscriptionObservable. subscribe(Subscriber<? super T> subscriber, Observable<T> observable)Observable<T>Observable. switchIfEmpty(Observable<? extends T> alternate)Returns an Observable that emits the items emitted by the source Observable or the items of an alternate Observable if the source Observable is empty.static <T> Observable<T>Observable. switchOnNext(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables.static <T> Observable<T>Observable. switchOnNextDelayError(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables and delays any exception until all Observables terminate.<E> Observable<T>Observable. takeUntil(Observable<? extends E> other)Returns an Observable that emits the items emitted by the source Observable until a second Observable emits an item.<E> Single<T>Single. takeUntil(Observable<? extends E> other)Returns a Single that emits the item emitted by the source Single until an Observable emits an item.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Observable<? extends T> other)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item.Observable<T>Observable. timeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Observable<? extends T> other, Scheduler scheduler)Returns an Observable that mirrors the source Observable but applies a timeout policy for each emitted item using a specified Scheduler.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but switches to a fallback Observable if either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<V> Observable<T>Observable. timeout(Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but that switches to a fallback Observable if an item emitted by the source Observable doesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by an Observable that is a function of the previous item.<TOpening,TClosing>
Observable<Observable<T>>Observable. window(Observable<? extends TOpening> windowOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<U> Observable<Observable<T>>Observable. window(Observable<U> boundary)Returns an Observable that emits non-overlapping windows of items it collects from the source Observable where the boundary of each window is determined by the items emitted from a specified boundary-governing Observable.<R> Observable<R>Observable. withLatestFrom(Observable<?>[] others, FuncN<R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<U,R>
Observable<R>Observable. withLatestFrom(Observable<? extends U> other, Func2<? super T,? super U,? extends R> resultSelector)Merges the specified Observable into this Observable sequence by using theresultSelectorfunction only when the source Observable (this instance) emits an item.<T1,T2,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Func3<? super T,? super T1,? super T2,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Func6<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Func7<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Observable<T1> o7, Func8<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T1> o3, Observable<T2> o4, Observable<T1> o5, Observable<T2> o6, Observable<T1> o7, Observable<T2> o8, Func9<? super T,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Func4<? super T,? super T1,? super T2,? super T3,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.<T1,T2,T3,T4,R>
Observable<R>Observable. withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Observable<T4> o4, Func5<? super T,? super T1,? super T2,? super T3,? super T4,R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.static <R> Observable<R>Observable. zip(Observable<?>[] ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an array of other Observables.static <R> Observable<R>Observable. zip(Observable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of n items emitted, in sequence, by the n Observables emitted by a specified Observable.static <T1,T2,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Func2<? super T1,? super T2,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of two items emitted, in sequence, by two other Observables.static <T1,T2,T3,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Func3<? super T1,? super T2,? super T3,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of three items emitted, in sequence, by three other Observables.static <T1,T2,T3,T4,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four other Observables.static <T1,T2,T3,T4,T5,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Func5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of five items emitted, in sequence, by five other Observables.static <T1,T2,T3,T4,T5,T6,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Func6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of six items emitted, in sequence, by six other Observables.static <T1,T2,T3,T4,T5,T6,T7,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Func7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of seven items emitted, in sequence, by seven other Observables.static <T1,T2,T3,T4,T5,T6,T7,T8,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Func8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of eight items emitted, in sequence, by eight other Observables.static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
Observable<R>Observable. zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Observable<? extends T5> o5, Observable<? extends T6> o6, Observable<? extends T7> o7, Observable<? extends T8> o8, Observable<? extends T9> o9, Func9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of nine items emitted, in sequence, by nine other Observables.<T2,R>
Observable<R>Observable. zipWith(Observable<? extends T2> other, Func2<? super T,? super T2,? extends R> zipFunction)Returns an Observable that emits items that are the result of applying a specified function to pairs of values, one each from the source Observable and another specified Observable.Method parameters in rx with type arguments of type Observable Modifier and Type Method Description static <T> Observable<T>Observable. amb(java.lang.Iterable<? extends Observable<? extends T>> sources)Mirrors the one Observable in an Iterable of several Observables that first either emits an item or sends a termination notification.<TClosing> Observable<java.util.List<T>>Observable. buffer(Func0<? extends Observable<? extends TClosing>> bufferClosingSelector)Returns an Observable that emits buffers of items it collects from the source Observable.<TOpening,TClosing>
Observable<java.util.List<T>>Observable. buffer(Observable<? extends TOpening> bufferOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> bufferClosingSelector)Returns an Observable that emits buffers of items it collects from the source Observable.static <T,R>
Observable<R>Observable. combineLatest(java.lang.Iterable<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a collection of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T,R>
Observable<R>Observable. combineLatest(java.util.List<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a list of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.static <T,R>
Observable<R>Observable. combineLatestDelayError(java.lang.Iterable<? extends Observable<? extends T>> sources, FuncN<? extends R> combineFunction)Combines a collection of source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function and delays any error from the sources until all source Observables terminate.static <T> Observable<T>Observable. concat(Observable<? extends Observable<? extends T>> observables)Returns an Observable that emits the items emitted by each of the Observables emitted by the source Observable, one after the other, without interleaving them.static <T> Observable<T>Observable. concatDelayError(java.lang.Iterable<? extends Observable<? extends T>> sources)Concatenates the Iterable sequence of Observables into a single sequence by subscribing to each Observable, one after the other, one at a time and delays any errors till the all inner Observables terminate.static <T> Observable<T>Observable. concatDelayError(Observable<? extends Observable<? extends T>> sources)Concatenates the Observable sequence of Observables into a single sequence by subscribing to each inner Observable, one after the other, one at a time and delays any errors till the all inner and the outer Observables terminate.static <T> Observable<T>Observable. concatEager(java.lang.Iterable<? extends Observable<? extends T>> sources)Concatenates a sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(java.lang.Iterable<? extends Observable<? extends T>> sources, int capacityHint)Concatenates a sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources)Concatenates an Observable sequence of Observables eagerly into a single stream of values.static <T> Observable<T>Observable. concatEager(Observable<? extends Observable<? extends T>> sources, int capacityHint)Concatenates an Observable sequence of Observables eagerly into a single stream of values.<R> Observable<R>Observable. concatMap(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable that emits items resulting from applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then emitting the items that result from concatenating those resulting Observables.<R> Observable<R>Observable. concatMapDelayError(Func1<? super T,? extends Observable<? extends R>> func)Maps each of the items into an Observable, subscribes to them one after the other, one at a time and emits their values in order while delaying any error from either this or any of the inner Observables till all of them terminate.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper, int capacityHint)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<R> Observable<R>Observable. concatMapEager(Func1<? super T,? extends Observable<? extends R>> mapper, int capacityHint, int maxConcurrent)Maps a sequence of values into Observables and concatenates these Observables eagerly into a single Observable.<U> Observable<T>Observable. debounce(Func1<? super T,? extends Observable<U>> debounceSelector)Returns an Observable that mirrors the source Observable, except that it drops items emitted by the source Observable that are followed by another item within a computed debounce duration.static <T> Observable<T>Observable. defer(Func0<Observable<T>> observableFactory)Returns an Observable that calls an Observable factory to create an Observable for each new Observer that subscribes.<U,V>
Observable<T>Observable. delay(Func0<? extends Observable<U>> subscriptionDelay, Func1<? super T,? extends Observable<V>> itemDelay)Returns an Observable that delays the subscription to and emissions from the source Observable via another Observable on a per-item basis.<U,V>
Observable<T>Observable. delay(Func0<? extends Observable<U>> subscriptionDelay, Func1<? super T,? extends Observable<V>> itemDelay)Returns an Observable that delays the subscription to and emissions from the source Observable via another Observable on a per-item basis.<U> Observable<T>Observable. delay(Func1<? super T,? extends Observable<U>> itemDelay)Returns an Observable that delays the emissions of the source Observable via another Observable on a per-item basis.<U> Observable<T>Observable. delaySubscription(Func0<? extends Observable<U>> subscriptionDelay)Returns an Observable that delays the subscription to the source Observable until a second Observable emits an item.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> func)Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> func, int maxConcurrent)Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger, while limiting the maximum number of concurrent subscriptions to these Observables.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted, int maxConcurrent)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items, while limiting the maximum number of concurrent subscriptions to these Observables.<R> Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends R>> onNext, Func1<? super java.lang.Throwable,? extends Observable<? extends R>> onError, Func0<? extends Observable<? extends R>> onCompleted, int maxConcurrent)Returns an Observable that applies a function to each item emitted or notification raised by the source Observable and then flattens the Observables returned from these functions and emits the resulting items, while limiting the maximum number of concurrent subscriptions to these Observables.<U,R>
Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)Returns an Observable that emits the results of a specified function to the pair of values emitted by the source Observable and a specified collection Observable.<U,R>
Observable<R>Observable. flatMap(Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector, int maxConcurrent)Returns an Observable that emits the results of a specified function to the pair of values emitted by the source Observable and a specified collection Observable, while limiting the maximum number of concurrent subscriptions to these Observables.<R> Observable<R>Single. flatMapObservable(Func1<? super T,? extends Observable<? extends R>> func)Returns an Observable that emits items based on applying a specified function to the item emitted by the source Observable, where that function returns an Observable.<T2,D1,D2,R>
Observable<R>Observable. groupJoin(Observable<T2> right, Func1<? super T,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T,? super Observable<T2>,? extends R> resultSelector)Returns an Observable that correlates two Observables when they overlap in time and groups the results.<T2,D1,D2,R>
Observable<R>Observable. groupJoin(Observable<T2> right, Func1<? super T,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T,? super Observable<T2>,? extends R> resultSelector)Returns an Observable that correlates two Observables when they overlap in time and groups the results.<TRight,TLeftDuration,TRightDuration,R>
Observable<R>Observable. join(Observable<TRight> right, Func1<T,Observable<TLeftDuration>> leftDurationSelector, Func1<TRight,Observable<TRightDuration>> rightDurationSelector, Func2<T,TRight,R> resultSelector)Correlates the items emitted by two Observables based on overlapping durations.static <T> Observable<T>Observable. merge(java.lang.Iterable<? extends Observable<? extends T>> sequences)Flattens an Iterable of Observables into one Observable, without any transformation.static <T> Observable<T>Observable. merge(java.lang.Iterable<? extends Observable<? extends T>> sequences, int maxConcurrent)Flattens an Iterable of Observables into one Observable, without any transformation, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation.static <T> Observable<T>Observable. merge(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into a single Observable that emits the items emitted by those Observables, without any transformation, while limiting the maximum number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. mergeDelayError(java.lang.Iterable<? extends Observable<? extends T>> sequences)Flattens an Iterable of Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(java.lang.Iterable<? extends Observable<? extends T>> sequences, int maxConcurrent)Flattens an Iterable of Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from each of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them.static <T> Observable<T>Observable. mergeDelayError(Observable<? extends Observable<? extends T>> source, int maxConcurrent)Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to receive all successfully emitted items from all of the source Observables without being interrupted by an error notification from one of them, while limiting the number of concurrent subscriptions to these Observables.Observable<T>Observable. onErrorResumeNext(Func1<java.lang.Throwable,? extends Observable<? extends T>> resumeFunction)Instructs an Observable to pass control to another Observable rather than invokingonErrorif it encounters an error.<R> Observable<R>Observable. publish(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the underlying sequence.<R> Observable<R>Observable. publish(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the underlying sequence.CompletableCompletable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> handler)Returns a Completable instance that repeats when the Publisher returned by the handler emits an item or completes when this Publisher emits a completed event.CompletableCompletable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> handler)Returns a Completable instance that repeats when the Publisher returned by the handler emits an item or completes when this Publisher emits a completed event.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.Observable<T>Observable. repeatWhen(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source Observable with the exception of anonCompleted.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits items that are the results of invoking a specified selector on the items emitted by aConnectableObservablethat shares a single subscription to the source Observable.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector)Returns an Observable that emits items that are the results of invoking a specified selector on the items emitted by aConnectableObservablethat shares a single subscription to the source Observable.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replayingbufferSizenotifications.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replayingbufferSizenotifications.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying no more thanbufferSizeitems that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying a maximum ofbufferSizeitems.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, int bufferSize, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying a maximum ofbufferSizeitems.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable, replaying all items that were emitted within a specified time window.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable.<R> Observable<R>Observable. replay(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Returns an Observable that emits items that are the results of invoking a specified selector on items emitted by aConnectableObservablethat shares a single subscription to the source Observable.CompletableCompletable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> handler)Returns a Completable which given a Publisher and when this Completable emits an error, delivers that error through an Observable and the Publisher should return a value indicating a retry in response or a terminal event indicating a termination.CompletableCompletable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> handler)Returns a Completable which given a Publisher and when this Completable emits an error, delivers that error through an Observable and the Publisher should return a value indicating a retry in response or a terminal event indicating a termination.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Observable<T>Observable. retryWhen(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Returns an Observable that emits the same values as the source observable with the exception of anonError.Single<T>Single. retryWhen(Func1<Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a Single that emits the same values as the source Single with the exception of anonError.Single<T>Single. retryWhen(Func1<Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a Single that emits the same values as the source Single with the exception of anonError.<R> Observable<R>Observable. switchMap(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable by applying a function that you supply to each item emitted by the source Observable that returns an Observable, and then emitting the items emitted by the most recently emitted of these Observables.<R> Observable<R>Observable. switchMapDelayError(Func1<? super T,? extends Observable<? extends R>> func)Returns a new Observable by applying a function that you supply to each item emitted by the source Observable that returns an Observable, and then emitting the items emitted by the most recently emitted of these Observables and delays any error until all Observables terminate.static <T> Observable<T>Observable. switchOnNext(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables.static <T> Observable<T>Observable. switchOnNextDelayError(Observable<? extends Observable<? extends T>> sequenceOfSequences)Converts an Observable that emits Observables into an Observable that emits the items emitted by the most recently emitted of those Observables and delays any exception until all Observables terminate.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector)Returns an Observable that mirrors the source Observable, but notifies observers of aTimeoutExceptionif either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector)Returns an Observable that mirrors the source Observable, but notifies observers of aTimeoutExceptionif either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but switches to a fallback Observable if either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<U,V>
Observable<T>Observable. timeout(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but switches to a fallback Observable if either the first item emitted by the source Observable or any subsequent item doesn't arrive within time windows defined by other Observables.<V> Observable<T>Observable. timeout(Func1<? super T,? extends Observable<V>> timeoutSelector)Returns an Observable that mirrors the source Observable, but notifies observers of aTimeoutExceptionif an item emitted by the source Observable doesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by an Observable that is a function of the previous item.<V> Observable<T>Observable. timeout(Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)Returns an Observable that mirrors the source Observable, but that switches to a fallback Observable if an item emitted by the source Observable doesn't arrive within a window of time after the emission of the previous item, where that period of time is measured by an Observable that is a function of the previous item.static <T,Resource>
Observable<T>Observable. using(Func0<Resource> resourceFactory, Func1<? super Resource,? extends Observable<? extends T>> observableFactory, Action1<? super Resource> disposeAction)Constructs an Observable that creates a dependent resource object which is disposed of on unsubscription.static <T,Resource>
Observable<T>Observable. using(Func0<Resource> resourceFactory, Func1<? super Resource,? extends Observable<? extends T>> observableFactory, Action1<? super Resource> disposeAction, boolean disposeEagerly)Constructs an Observable that creates a dependent resource object which is disposed of just before termination if you have setdisposeEagerlytotrueand unsubscription does not occur before termination.<S extends Scheduler & Subscription>
SScheduler. when(Func1<Observable<Observable<Completable>>,Completable> combine)Allows the use of operators for controlling the timing around when actions scheduled on workers are actually done.<S extends Scheduler & Subscription>
SScheduler. when(Func1<Observable<Observable<Completable>>,Completable> combine)Allows the use of operators for controlling the timing around when actions scheduled on workers are actually done.<TClosing> Observable<Observable<T>>Observable. window(Func0<? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<TOpening,TClosing>
Observable<Observable<T>>Observable. window(Observable<? extends TOpening> windowOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> closingSelector)Returns an Observable that emits windows of items it collects from the source Observable.<R> Observable<R>Observable. withLatestFrom(java.lang.Iterable<Observable<?>> others, FuncN<R> combiner)Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.static <R> Observable<R>Observable. zip(java.lang.Iterable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of items emitted, in sequence, by an Iterable of other Observables.static <R> Observable<R>Observable. zip(Observable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)Returns an Observable that emits the results of a specified combiner function applied to combinations of n items emitted, in sequence, by the n Observables emitted by a specified Observable.Constructors in rx with parameters of type Observable Constructor Description OnSubscribeExtend(Observable<T> parent) -
Uses of Observable in rx.internal.operators
Subclasses of Observable in rx.internal.operators Modifier and Type Class Description classBufferUntilSubscriber<T>A solution to the "time gap" problem that occurs withgroupByandpivot.classCachedObservable<T>An observable which auto-connects to another observable, caches the elements from that observable but allows terminating the connection and completing the cache.(package private) static classOperatorGroupBy.GroupedUnicast<K,T>classOperatorMulticast<T,R>Shares a single subscription to a source through a Subject.classOperatorPublish<T>A connectable observable which shares an underlying source and dispatches source values to subscribers in a backpressure-aware manner.classOperatorReplay<T>Fields in rx.internal.operators declared as Observable Modifier and Type Field Description private Observable<? extends T>OperatorSwitchIfEmpty. alternateprivate Observable<? extends T>OperatorSwitchIfEmpty.ParentSubscriber. alternate(package private) Observable<? extends TOpening>OperatorBufferWithStartEndObservable. bufferOpening(package private) static Observable<java.lang.Object>EmptyObservableHolder. EMPTYThe singleton instance.private Observable<? extends T>BlockingOperatorNext.NextIterator. items(package private) Observable<T1>OnSubscribeGroupJoin. left(package private) Observable<TLeft>OnSubscribeJoin. left(package private) Observable<? extends T>OnSubscribeDelaySubscriptionOther. main(package private) Observable<T>OperatorWithLatestFromMany. main(package private) static Observable<java.lang.Object>NeverObservableHolder. NEVERThe singleton instance.private Observable<T>OnSubscribeSingle. observable(package private) Observable<U>OnSubscribeDelaySubscriptionOther. other(package private) Observable<U>OperatorSkipUntil. otherprivate Observable<? extends E>OperatorTakeUntil. other(package private) Observable<? extends T>OperatorTimeoutBase. other(package private) Observable<? extends T>OperatorTimeoutBase.TimeoutSubscriber. other(package private) Observable<U>OperatorWindowWithObservable. other(package private) Observable<? extends U>OperatorWithLatestFrom. other(package private) Observable<?>SingleOnSubscribeDelaySubscriptionOther. other(package private) Observable<?>[]OperatorWithLatestFromMany. others(package private) Observable<T>OperatorWindowWithObservable.SourceSubscriber. producerAccessed from the serialized part.(package private) Observable<T>OperatorWindowWithObservableFactory.SourceSubscriber. producerAccessed from the serialized part.(package private) Observable<T>OperatorWindowWithStartEndObservable.SerializedSubject. producer(package private) Observable<T>OperatorWindowWithTime.CountedSerializedSubject. producer(package private) Observable<T>OperatorWindowWithTime.State. producer(package private) Observable<T2>OnSubscribeGroupJoin. right(package private) Observable<TRight>OnSubscribeJoin. right(package private) Observable<U>OperatorSampleWithObservable. sampler(package private) Observable<? extends T>CachedObservable.CacheState. sourceThe source observable to connect to.(package private) Observable<Completable>CompletableOnSubscribeMerge. source(package private) Observable<T>OnSubscribeCollect. source(package private) Observable<? extends T>OnSubscribeConcatMap. source(package private) Observable<? extends T>OnSubscribeDelaySubscription. source(package private) Observable<? extends T>OnSubscribeDelaySubscriptionWithSelector. source(package private) Observable<T>OnSubscribeDetach. source(package private) Observable<T>OnSubscribeFilter. source(package private) Observable<? extends T>OnSubscribeFlattenIterable. source(package private) Observable<T>OnSubscribeMap. source(package private) Observable<T>OnSubscribeRedo. source(package private) Observable<T>OnSubscribeReduce. source(package private) Observable<T>OnSubscribeReduceSeed. source(package private) Observable<T>OnSubscribeTakeLastOne. source(package private) Observable<? extends T>OperatorDelayWithSelector. source(package private) Observable<? extends T>OperatorMulticast. source(package private) Observable<? extends T>OperatorPublish. sourceThe source observable.(package private) Observable<? extends T>OperatorReplay. sourceThe source observable.(package private) Observable<T>OperatorSubscribeOn. source(package private) Observable<Completable>CompletableOnSubscribeConcat. sources(package private) Observable<? extends T>[]OnSubscribeCombineLatest. sources(package private) Observable<T>OnSubscribeGroupJoin.WindowObservableFunc. underlying(package private) Observable<? extends U>OperatorWindowWithStartEndObservable. windowOpeningsFields in rx.internal.operators with type parameters of type Observable Modifier and Type Field Description (package private) Subscriber<? super Observable<? extends R>>OperatorMapPair.MapPairSubscriber. actual(package private) Subscriber<? super Observable<T>>OperatorWindowWithSize.WindowExact. actual(package private) Subscriber<? super Observable<T>>OperatorWindowWithSize.WindowOverlap. actual(package private) Subscriber<? super Observable<T>>OperatorWindowWithSize.WindowSkip. actual(package private) Func1<? super TOpening,? extends Observable<? extends TClosing>>OperatorBufferWithStartEndObservable. bufferClosing(package private) Func0<? extends Observable<? extends TClosing>>OperatorBufferWithSingleObservable. bufferClosingSelector(package private) Subscriber<? super Observable<T>>OperatorWindowWithObservable.SourceSubscriber. child(package private) Subscriber<? super Observable<T>>OperatorWindowWithObservableFactory.SourceSubscriber. child(package private) Subscriber<? super Observable<T>>OperatorWindowWithStartEndObservable.SourceSubscriber. child(package private) Subscriber<? super Observable<T>>OperatorWindowWithTime.ExactSubscriber. child(package private) Subscriber<? super Observable<T>>OperatorWindowWithTime.InexactSubscriber. child(package private) Func1<? super T,? extends Observable<? extends U>>OperatorMapPair. collectionSelector(package private) Func1<? super T,? extends Observable<? extends U>>OperatorMapPair.MapPairSubscriber. collectionSelectorprivate Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>>OnSubscribeRedo. controlHandlerFunctionprivate Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>>OnSubscribeRedo. controlHandlerFunction(package private) Func1<? super T,? extends Observable<V>>OperatorDelayWithSelector. itemDelay(package private) Func1<? super T1,? extends Observable<D1>>OnSubscribeGroupJoin. leftDuration(package private) Func1<TLeft,Observable<TLeftDuration>>OnSubscribeJoin. leftDurationSelector(package private) Func1<? super T,? extends Observable<? extends R>>OnSubscribeConcatMap.ConcatMapSubscriber. mapper(package private) Func1<? super T,? extends Observable<? extends R>>OnSubscribeConcatMap. mapper(package private) Func1<? super T,? extends Observable<? extends R>>OperatorEagerConcatMap.EagerOuterSubscriber. mapper(package private) Func1<? super T,? extends Observable<? extends R>>OperatorEagerConcatMap. mapper(package private) Func0<? extends Observable<? extends T>>OnSubscribeDefer. observableFactoryprivate Func1<? super Resource,? extends Observable<? extends T>>OnSubscribeUsing. observableFactory(package private) Func0<? extends Observable<? extends U>>OperatorWindowWithObservableFactory. otherFactory(package private) Func0<? extends Observable<? extends U>>OperatorWindowWithObservableFactory.SourceSubscriber. otherFactory(package private) java.lang.Iterable<Observable<?>>OperatorWithLatestFromMany. othersIterable(package private) static Func1<Observable<? extends Notification<?>>,Observable<?>>OnSubscribeRedo. REDO_INFINITE(package private) static Func1<Observable<? extends Notification<?>>,Observable<?>>OnSubscribeRedo. REDO_INFINITE(package private) Func2<? super T1,? super Observable<T2>,? extends R>OnSubscribeGroupJoin. resultSelector(package private) Func1<java.lang.Throwable,? extends Observable<? extends T>>OperatorOnErrorResumeNextViaFunction. resumeFunction(package private) Func1<? super T2,? extends Observable<D2>>OnSubscribeGroupJoin. rightDuration(package private) Func1<TRight,Observable<TRightDuration>>OnSubscribeJoin. rightDurationSelector(package private) Func1<? super T,? extends Observable<U>>OperatorDebounceWithSelector. selector(package private) java.lang.Iterable<? extends Observable<? extends T>>OnSubscribeAmb. sources(package private) java.lang.Iterable<? extends Observable<? extends T>>OnSubscribeCombineLatest. sourcesIterable(package private) Func0<? extends Observable<U>>OnSubscribeDelaySubscriptionWithSelector. subscriptionDelay(package private) Func1<? super U,? extends Observable<? extends V>>OperatorWindowWithStartEndObservable. windowClosingSelectorMethods in rx.internal.operators that return Observable Modifier and Type Method Description Observable<?>OnSubscribeRedo.RedoFinite. call(Observable<? extends Notification<?>> ts)Observable<? extends Notification<?>>OnSubscribeRedo.RetryWithPredicate. call(Observable<? extends Notification<?>> ts)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector, boolean delayError)static <T,R>
Observable<R>OnSubscribeFlattenIterable. createFrom(Observable<? extends T> source, Func1<? super T,? extends java.lang.Iterable<? extends R>> mapper, int prefetch)static <T> Observable<T>EmptyObservableHolder. instance()Returns a type-corrected singleton instance of the empty Observable.static <T> Observable<T>NeverObservableHolder. instance()Returns a type-corrected singleton instance of the never Observable.(package private) static <T> Observable<java.lang.Object>OperatorSequenceEqual. materializeLite(Observable<T> source)static <T,U,R>
Observable<R>OperatorReplay. multicastSelector(Func0<? extends ConnectableObservable<U>> connectableFactory, Func1<? super Observable<U>,? extends Observable<R>> selector)Given a connectable observable factory, it multicasts over the generated ConnectableObservable via a selector function.static <T> Observable<T>OnSubscribeRedo. redo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, long count)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, long count, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, long count)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<java.lang.Boolean>OperatorSequenceEqual. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second, Func2<? super T,? super T,java.lang.Boolean> equality)Tests whether twoObservablesequences are identical, emittingtrueif both sequences complete without differing, andfalseif the two sequences diverge at any point.Methods in rx.internal.operators that return types with arguments of type Observable Modifier and Type Method Description Subscriber<Observable<? extends T>>OperatorMerge. call(Subscriber<? super T> child)Subscriber<? super Observable<T>>OperatorRetryWithPredicate. call(Subscriber<? super T> child)Subscriber<? super Observable<? extends T>>OperatorSwitch. call(Subscriber<? super T> child)static <T,U>
Func1<T,Observable<U>>OperatorMapPair. convertSelector(Func1<? super T,? extends java.lang.Iterable<? extends U>> selector)Creates the function that generates aObservablebased on an item emitted by anotherObservable.Methods in rx.internal.operators with parameters of type Observable Modifier and Type Method Description static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2)Given twoObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3)Given threeObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4)Given fourObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5)Given fiveObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6)Given sixObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7)Given sevenObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8)Given eightObservables, propagates the one that first emits an item.static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(Observable<? extends T> o1, Observable<? extends T> o2, Observable<? extends T> o3, Observable<? extends T> o4, Observable<? extends T> o5, Observable<? extends T> o6, Observable<? extends T> o7, Observable<? extends T> o8, Observable<? extends T> o9)Given nineObservables, propagates the one that first emits an item.Observable<?>OnSubscribeRedo.RedoFinite. call(Observable<? extends Notification<?>> ts)Observable<? extends Notification<?>>OnSubscribeRedo.RetryWithPredicate. call(Observable<? extends Notification<?>> ts)static <T> OnSubscribeSingle<T>OnSubscribeSingle. create(Observable<T> observable)static <T> ConnectableObservable<T>OperatorPublish. create(Observable<? extends T> source)Creates a OperatorPublish instance to publish values of the given source observable.static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector, boolean delayError)static <T> ConnectableObservable<T>OperatorReplay. create(Observable<? extends T> source)Creates a replaying ConnectableObservable with an unbounded buffer.static <T> ConnectableObservable<T>OperatorReplay. create(Observable<? extends T> source, int bufferSize)Creates a replaying ConnectableObservable with a size bound buffer.static <T> ConnectableObservable<T>OperatorReplay. create(Observable<? extends T> source, long maxAge, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Creates a replaying ConnectableObservable with a time bound buffer.static <T> ConnectableObservable<T>OperatorReplay. create(Observable<? extends T> source, long maxAge, java.util.concurrent.TimeUnit unit, Scheduler scheduler, int bufferSize)Creates a replaying ConnectableObservable with a size and time bound buffer.(package private) static <T> ConnectableObservable<T>OperatorReplay. create(Observable<? extends T> source, Func0<? extends OperatorReplay.ReplayBuffer<T>> bufferFactory)Creates a OperatorReplay instance to replay values of the given source observable.OperatorWindowWithTime.State<T>OperatorWindowWithTime.State. create(Observer<T> consumer, Observable<T> producer)static <T,R>
Observable<R>OnSubscribeFlattenIterable. createFrom(Observable<? extends T> source, Func1<? super T,? extends java.lang.Iterable<? extends R>> mapper, int prefetch)static <T> CachedObservable<T>CachedObservable. from(Observable<? extends T> source)Creates a cached Observable with a default capacity hint of 16.static <T> CachedObservable<T>CachedObservable. from(Observable<? extends T> source, int capacityHint)Creates a cached Observable with the given capacity hint.static <T> java.lang.Iterable<T>BlockingOperatorLatest. latest(Observable<? extends T> source)Returns anIterablethat blocks until or unless theObservableemits an item that has not been returned by theIterable, then returns that item(package private) static <T> Observable<java.lang.Object>OperatorSequenceEqual. materializeLite(Observable<T> source)static <T> java.lang.Iterable<T>BlockingOperatorMostRecent. mostRecent(Observable<? extends T> source, T initialValue)Returns anIterablethat always returns the item most recently emitted by theObservable.static <T> java.lang.Iterable<T>BlockingOperatorNext. next(Observable<? extends T> items)Returns anIterablethat blocks until theObservableemits another item, then returns that item.voidOperatorMerge.MergeSubscriber. onNext(Observable<? extends T> t)voidOperatorRetryWithPredicate.SourceSubscriber. onNext(Observable<T> o)voidOperatorSwitch.SwitchSubscriber. onNext(Observable<? extends T> t)voidOperatorZip.ZipSubscriber. onNext(Observable[] observables)static <T> Observable<T>OnSubscribeRedo. redo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, long count)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, long count, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, long count)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<java.lang.Boolean>OperatorSequenceEqual. sequenceEqual(Observable<? extends T> first, Observable<? extends T> second, Func2<? super T,? super T,java.lang.Boolean> equality)Tests whether twoObservablesequences are identical, emittingtrueif both sequences complete without differing, andfalseif the two sequences diverge at any point.voidOperatorZip.Zip. start(Observable[] os, java.util.concurrent.atomic.AtomicLong requested)voidOnSubscribeCombineLatest.LatestCoordinator. subscribe(Observable<? extends T>[] sources)voidDeferredScalarSubscriber. subscribeTo(Observable<? extends T> source)Links up with the downstream Subscriber (cancellation, backpressure) and subscribes to the source Observable.static <T> java.util.concurrent.Future<T>BlockingOperatorToFuture. toFuture(Observable<? extends T> that)Returns a Future that expects a single item from the observable.static <T> java.util.Iterator<T>BlockingOperatorToIterator. toIterator(Observable<? extends T> source)Returns an iterator that iterates all values of the observable.static <T> OperatorOnErrorResumeNextViaFunction<T>OperatorOnErrorResumeNextViaFunction. withException(Observable<? extends T> other)static <T> OperatorOnErrorResumeNextViaFunction<T>OperatorOnErrorResumeNextViaFunction. withOther(Observable<? extends T> other)Method parameters in rx.internal.operators with type arguments of type Observable Modifier and Type Method Description static <T> Observable.OnSubscribe<T>OnSubscribeAmb. amb(java.lang.Iterable<? extends Observable<? extends T>> sources)Given a set ofObservables, propagates the one that first emits an item.Subscriber<? super T>OperatorMapPair. call(Subscriber<? super Observable<? extends R>> o)Subscriber<? super T>OperatorWindowWithObservable. call(Subscriber<? super Observable<T>> child)Subscriber<? super T>OperatorWindowWithObservableFactory. call(Subscriber<? super Observable<T>> child)Subscriber<? super T>OperatorWindowWithSize. call(Subscriber<? super Observable<T>> child)Subscriber<? super T>OperatorWindowWithStartEndObservable. call(Subscriber<? super Observable<T>> child)Subscriber<? super T>OperatorWindowWithTime. call(Subscriber<? super Observable<T>> child)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector, boolean delayError)static <T,R>
Observable<R>OperatorPublish. create(Observable<? extends T> source, Func1<? super Observable<T>,? extends Observable<R>> selector, boolean delayError)static <T,U,R>
Observable<R>OperatorReplay. multicastSelector(Func0<? extends ConnectableObservable<U>> connectableFactory, Func1<? super Observable<U>,? extends Observable<R>> selector)Given a connectable observable factory, it multicasts over the generated ConnectableObservable via a selector function.static <T,U,R>
Observable<R>OperatorReplay. multicastSelector(Func0<? extends ConnectableObservable<U>> connectableFactory, Func1<? super Observable<U>,? extends Observable<R>> selector)Given a connectable observable factory, it multicasts over the generated ConnectableObservable via a selector function.static <T> Observable<T>OnSubscribeRedo. redo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. redo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. repeat(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)static <T> Observable<T>OnSubscribeRedo. retry(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> notificationHandler, Scheduler scheduler)Constructors in rx.internal.operators with parameters of type Observable Constructor Description CacheState(Observable<? extends T> source, int capacityHint)CompletableOnSubscribeConcat(Observable<? extends Completable> sources, int prefetch)CompletableOnSubscribeMerge(Observable<? extends Completable> source, int maxConcurrency, boolean delayErrors)CountedSerializedSubject(Observer<T> consumer, Observable<T> producer)NextIterator(Observable<? extends T> items, BlockingOperatorNext.NextObserver<T> observer)OnSubscribeCollect(Observable<T> source, Func0<R> collectionFactory, Action2<R,? super T> collector)OnSubscribeCombineLatest(Observable<? extends T>[] sources, java.lang.Iterable<? extends Observable<? extends T>> sourcesIterable, FuncN<? extends R> combiner, int bufferSize, boolean delayError)OnSubscribeConcatMap(Observable<? extends T> source, Func1<? super T,? extends Observable<? extends R>> mapper, int prefetch, int delayErrorMode)OnSubscribeDelaySubscription(Observable<? extends T> source, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)OnSubscribeDelaySubscriptionOther(Observable<? extends T> main, Observable<U> other)OnSubscribeDelaySubscriptionWithSelector(Observable<? extends T> source, Func0<? extends Observable<U>> subscriptionDelay)OnSubscribeDetach(Observable<T> source)OnSubscribeFilter(Observable<T> source, Func1<? super T,java.lang.Boolean> predicate)OnSubscribeFlattenIterable(Observable<? extends T> source, Func1<? super T,? extends java.lang.Iterable<? extends R>> mapper, int prefetch)Protected: use createFrom to handle source-dependent optimizations.OnSubscribeGroupJoin(Observable<T1> left, Observable<T2> right, Func1<? super T1,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T1,? super Observable<T2>,? extends R> resultSelector)OnSubscribeJoin(Observable<TLeft> left, Observable<TRight> right, Func1<TLeft,Observable<TLeftDuration>> leftDurationSelector, Func1<TRight,Observable<TRightDuration>> rightDurationSelector, Func2<TLeft,TRight,R> resultSelector)OnSubscribeMap(Observable<T> source, Func1<? super T,? extends R> transformer)OnSubscribeRedo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> f, boolean stopOnComplete, boolean stopOnError, Scheduler scheduler)OnSubscribeReduce(Observable<T> source, Func2<T,T,T> reducer)OnSubscribeReduceSeed(Observable<T> source, R initialValue, Func2<R,? super T,R> reducer)OnSubscribeSingle(Observable<T> observable)OnSubscribeTakeLastOne(Observable<T> source)OperatorBufferWithSingleObservable(Observable<? extends TClosing> bufferClosing, int initialCapacity)OperatorBufferWithStartEndObservable(Observable<? extends TOpening> bufferOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> bufferClosingSelector)OperatorDelayWithSelector(Observable<? extends T> source, Func1<? super T,? extends Observable<V>> itemDelay)OperatorMulticast(java.lang.Object guard, java.util.concurrent.atomic.AtomicReference<Subject<? super T,? extends R>> connectedSubject, java.util.List<Subscriber<? super R>> waitingForConnect, Observable<? extends T> source, Func0<? extends Subject<? super T,? extends R>> subjectFactory)OperatorMulticast(Observable<? extends T> source, Func0<? extends Subject<? super T,? extends R>> subjectFactory)OperatorPublish(Observable.OnSubscribe<T> onSubscribe, Observable<? extends T> source, java.util.concurrent.atomic.AtomicReference<OperatorPublish.PublishSubscriber<T>> current)OperatorReplay(Observable.OnSubscribe<T> onSubscribe, Observable<? extends T> source, java.util.concurrent.atomic.AtomicReference<OperatorReplay.ReplaySubscriber<T>> current, Func0<? extends OperatorReplay.ReplayBuffer<T>> bufferFactory)OperatorSampleWithObservable(Observable<U> sampler)OperatorSkipUntil(Observable<U> other)OperatorSubscribeOn(Observable<T> source, Scheduler scheduler)OperatorSwitchIfEmpty(Observable<? extends T> alternate)OperatorTakeUntil(Observable<? extends E> other)OperatorTimeout(long timeout, java.util.concurrent.TimeUnit timeUnit, Observable<? extends T> other, Scheduler scheduler)OperatorTimeoutBase(OperatorTimeoutBase.FirstTimeoutStub<T> firstTimeoutStub, OperatorTimeoutBase.TimeoutStub<T> timeoutStub, Observable<? extends T> other, Scheduler scheduler)OperatorTimeoutWithSelector(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)OperatorWindowWithObservable(Observable<U> other)OperatorWindowWithStartEndObservable(Observable<? extends U> windowOpenings, Func1<? super U,? extends Observable<? extends V>> windowClosingSelector)OperatorWithLatestFrom(Observable<? extends U> other, Func2<? super T,? super U,? extends R> resultSelector)OperatorWithLatestFromMany(Observable<T> main, Observable<?>[] others, java.lang.Iterable<Observable<?>> othersIterable, FuncN<R> combiner)ParentSubscriber(Subscriber<? super T> child, SerialSubscription ssub, ProducerArbiter arbiter, Observable<? extends T> alternate)SerializedSubject(Observer<T> consumer, Observable<T> producer)SingleOnSubscribeDelaySubscriptionOther(Single<? extends T> main, Observable<?> other)State(Observer<T> consumer, Observable<T> producer, int count)TimeoutSubscriber(SerializedSubscriber<T> serializedSubscriber, OperatorTimeoutBase.TimeoutStub<T> timeoutStub, SerialSubscription serial, Observable<? extends T> other, Scheduler.Worker inner)WindowObservableFunc(Observable<T> underlying, RefCountSubscription refCount)Constructor parameters in rx.internal.operators with type arguments of type Observable Constructor Description ConcatMapSubscriber(Subscriber<? super R> actual, Func1<? super T,? extends Observable<? extends R>> mapper, int prefetch, int delayErrorMode)EagerOuterSubscriber(Func1<? super T,? extends Observable<? extends R>> mapper, int bufferSize, int maxConcurrent, Subscriber<? super R> actual)ExactSubscriber(Subscriber<? super Observable<T>> child, Scheduler.Worker worker)InexactSubscriber(Subscriber<? super Observable<T>> child, Scheduler.Worker worker)MapPairSubscriber(Subscriber<? super Observable<? extends R>> actual, Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)MapPairSubscriber(Subscriber<? super Observable<? extends R>> actual, Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)OnSubscribeAmb(java.lang.Iterable<? extends Observable<? extends T>> sources)OnSubscribeCombineLatest(java.lang.Iterable<? extends Observable<? extends T>> sourcesIterable, FuncN<? extends R> combiner)OnSubscribeCombineLatest(Observable<? extends T>[] sources, java.lang.Iterable<? extends Observable<? extends T>> sourcesIterable, FuncN<? extends R> combiner, int bufferSize, boolean delayError)OnSubscribeConcatMap(Observable<? extends T> source, Func1<? super T,? extends Observable<? extends R>> mapper, int prefetch, int delayErrorMode)OnSubscribeDefer(Func0<? extends Observable<? extends T>> observableFactory)OnSubscribeDelaySubscriptionWithSelector(Observable<? extends T> source, Func0<? extends Observable<U>> subscriptionDelay)OnSubscribeGroupJoin(Observable<T1> left, Observable<T2> right, Func1<? super T1,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T1,? super Observable<T2>,? extends R> resultSelector)OnSubscribeGroupJoin(Observable<T1> left, Observable<T2> right, Func1<? super T1,? extends Observable<D1>> leftDuration, Func1<? super T2,? extends Observable<D2>> rightDuration, Func2<? super T1,? super Observable<T2>,? extends R> resultSelector)OnSubscribeJoin(Observable<TLeft> left, Observable<TRight> right, Func1<TLeft,Observable<TLeftDuration>> leftDurationSelector, Func1<TRight,Observable<TRightDuration>> rightDurationSelector, Func2<TLeft,TRight,R> resultSelector)OnSubscribeRedo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> f, boolean stopOnComplete, boolean stopOnError, Scheduler scheduler)OnSubscribeRedo(Observable<T> source, Func1<? super Observable<? extends Notification<?>>,? extends Observable<?>> f, boolean stopOnComplete, boolean stopOnError, Scheduler scheduler)OnSubscribeUsing(Func0<Resource> resourceFactory, Func1<? super Resource,? extends Observable<? extends T>> observableFactory, Action1<? super Resource> dispose, boolean disposeEagerly)OperatorBufferWithSingleObservable(Func0<? extends Observable<? extends TClosing>> bufferClosingSelector, int initialCapacity)OperatorBufferWithStartEndObservable(Observable<? extends TOpening> bufferOpenings, Func1<? super TOpening,? extends Observable<? extends TClosing>> bufferClosingSelector)OperatorDebounceWithSelector(Func1<? super T,? extends Observable<U>> selector)OperatorDelayWithSelector(Observable<? extends T> source, Func1<? super T,? extends Observable<V>> itemDelay)OperatorEagerConcatMap(Func1<? super T,? extends Observable<? extends R>> mapper, int bufferSize, int maxConcurrent)OperatorMapPair(Func1<? super T,? extends Observable<? extends U>> collectionSelector, Func2<? super T,? super U,? extends R> resultSelector)OperatorOnErrorResumeNextViaFunction(Func1<java.lang.Throwable,? extends Observable<? extends T>> f)OperatorTimeoutWithSelector(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)OperatorTimeoutWithSelector(Func0<? extends Observable<U>> firstTimeoutSelector, Func1<? super T,? extends Observable<V>> timeoutSelector, Observable<? extends T> other)OperatorWindowWithObservableFactory(Func0<? extends Observable<? extends U>> otherFactory)OperatorWindowWithStartEndObservable(Observable<? extends U> windowOpenings, Func1<? super U,? extends Observable<? extends V>> windowClosingSelector)OperatorWithLatestFromMany(Observable<T> main, Observable<?>[] others, java.lang.Iterable<Observable<?>> othersIterable, FuncN<R> combiner)SourceSubscriber(Subscriber<? super Observable<T>> child)SourceSubscriber(Subscriber<? super Observable<T>> child, Func0<? extends Observable<? extends U>> otherFactory)SourceSubscriber(Subscriber<? super Observable<T>> child, Func0<? extends Observable<? extends U>> otherFactory)SourceSubscriber(Subscriber<? super Observable<T>> child, CompositeSubscription csub)WindowExact(Subscriber<? super Observable<T>> actual, int size)WindowOverlap(Subscriber<? super Observable<T>> actual, int size, int skip)WindowSkip(Subscriber<? super Observable<T>> actual, int size, int skip) -
Uses of Observable in rx.internal.schedulers
Fields in rx.internal.schedulers with type parameters of type Observable Modifier and Type Field Description private Observer<Observable<Completable>>SchedulerWhen. workerObserverConstructor parameters in rx.internal.schedulers with type arguments of type Observable Constructor Description SchedulerWhen(Func1<Observable<Observable<Completable>>,Completable> combine, Scheduler actualScheduler)SchedulerWhen(Func1<Observable<Observable<Completable>>,Completable> combine, Scheduler actualScheduler) -
Uses of Observable in rx.internal.util
Subclasses of Observable in rx.internal.util Modifier and Type Class Description classScalarSynchronousObservable<T>An Observable that emits a single constant scalar value to Subscribers.Fields in rx.internal.util declared as Observable Modifier and Type Field Description private Observable<T>InternalObservableUtils.ReplaySupplierBuffer. sourceprivate Observable<T>InternalObservableUtils.ReplaySupplierBufferTime. sourceprivate Observable<T>InternalObservableUtils.ReplaySupplierNoParams. sourceprivate Observable<T>InternalObservableUtils.ReplaySupplierTime. sourceFields in rx.internal.util with type parameters of type Observable Modifier and Type Field Description (package private) Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>>InternalObservableUtils.RepeatNotificationDematerializer. notificationHandler(package private) Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>>InternalObservableUtils.RepeatNotificationDematerializer. notificationHandler(package private) Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>>InternalObservableUtils.RetryNotificationDematerializer. notificationHandler(package private) Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>>InternalObservableUtils.RetryNotificationDematerializer. notificationHandler(package private) Func1<? super Observable<T>,? extends Observable<R>>InternalObservableUtils.SelectorAndObserveOn. selector(package private) Func1<? super Observable<T>,? extends Observable<R>>InternalObservableUtils.SelectorAndObserveOn. selectorMethods in rx.internal.util that return Observable Modifier and Type Method Description Observable<?>InternalObservableUtils.RepeatNotificationDematerializer. call(Observable<? extends Notification<?>> notifications)Observable<?>InternalObservableUtils.RetryNotificationDematerializer. call(Observable<? extends Notification<?>> notifications)Observable<R>InternalObservableUtils.SelectorAndObserveOn. call(Observable<T> t)Observable<?>[]InternalObservableUtils.ToArrayFunc1. call(java.util.List<? extends Observable<?>> o)<R> Observable<R>ScalarSynchronousObservable. scalarFlatMap(Func1<? super T,? extends Observable<? extends R>> func)Given this scalar source as input to a flatMap, avoid one step of subscription and subscribes to the single Observable returned by the function.Observable<T>ScalarSynchronousObservable. scalarScheduleOn(Scheduler scheduler)Customized observeOn/subscribeOn implementation which emits the scalar value directly or with less overhead on the specified scheduler.Methods in rx.internal.util that return types with arguments of type Observable Modifier and Type Method Description static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRepeatDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with a null for non-terminal events.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRepeatDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with a null for non-terminal events.static <T,R>
Func1<Observable<T>,Observable<R>>InternalObservableUtils. createReplaySelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Creates a Func1 which calls the selector function with the received argument, applies an observeOn on the result and returns the resulting Observable.static <T,R>
Func1<Observable<T>,Observable<R>>InternalObservableUtils. createReplaySelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Creates a Func1 which calls the selector function with the received argument, applies an observeOn on the result and returns the resulting Observable.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRetryDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with the Throwable.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRetryDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with the Throwable.Methods in rx.internal.util with parameters of type Observable Modifier and Type Method Description Observable<?>InternalObservableUtils.RepeatNotificationDematerializer. call(Observable<? extends Notification<?>> notifications)Observable<?>InternalObservableUtils.RetryNotificationDematerializer. call(Observable<? extends Notification<?>> notifications)Observable<R>InternalObservableUtils.SelectorAndObserveOn. call(Observable<T> t)static <T> Func0<ConnectableObservable<T>>InternalObservableUtils. createReplaySupplier(Observable<T> source)Returns a Func0 that supplies the ConnectableObservable returned by calling replay() on the source.static <T> Func0<ConnectableObservable<T>>InternalObservableUtils. createReplaySupplier(Observable<T> source, int bufferSize)Returns a Func0 that supplies the ConnectableObservable returned by calling a parameterized replay() on the source.static <T> Func0<ConnectableObservable<T>>InternalObservableUtils. createReplaySupplier(Observable<T> source, int bufferSize, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns a Func0 that supplies the ConnectableObservable returned by calling a parameterized replay() on the source.static <T> Func0<ConnectableObservable<T>>InternalObservableUtils. createReplaySupplier(Observable<T> source, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Returns a Func0 that supplies the ConnectableObservable returned by calling a parameterized replay() on the source.Method parameters in rx.internal.util with type arguments of type Observable Modifier and Type Method Description Observable<?>[]InternalObservableUtils.ToArrayFunc1. call(java.util.List<? extends Observable<?>> o)static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRepeatDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with a null for non-terminal events.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRepeatDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with a null for non-terminal events.static <T,R>
Func1<Observable<T>,Observable<R>>InternalObservableUtils. createReplaySelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Creates a Func1 which calls the selector function with the received argument, applies an observeOn on the result and returns the resulting Observable.static <T,R>
Func1<Observable<T>,Observable<R>>InternalObservableUtils. createReplaySelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)Creates a Func1 which calls the selector function with the received argument, applies an observeOn on the result and returns the resulting Observable.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRetryDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with the Throwable.static Func1<Observable<? extends Notification<?>>,Observable<?>>InternalObservableUtils. createRetryDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)Returns a function that dematerializes the notification signal from an Observable and calls a notification handler with the Throwable.<R> Observable<R>ScalarSynchronousObservable. scalarFlatMap(Func1<? super T,? extends Observable<? extends R>> func)Given this scalar source as input to a flatMap, avoid one step of subscription and subscribes to the single Observable returned by the function.Constructors in rx.internal.util with parameters of type Observable Constructor Description ReplaySupplierBuffer(Observable<T> source, int bufferSize)ReplaySupplierBufferTime(Observable<T> source, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)ReplaySupplierNoParams(Observable<T> source)ReplaySupplierTime(Observable<T> source, int bufferSize, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)Constructor parameters in rx.internal.util with type arguments of type Observable Constructor Description RepeatNotificationDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)RepeatNotificationDematerializer(Func1<? super Observable<? extends java.lang.Void>,? extends Observable<?>> notificationHandler)RetryNotificationDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)RetryNotificationDematerializer(Func1<? super Observable<? extends java.lang.Throwable>,? extends Observable<?>> notificationHandler)SelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler)SelectorAndObserveOn(Func1<? super Observable<T>,? extends Observable<R>> selector, Scheduler scheduler) -
Uses of Observable in rx.observables
Subclasses of Observable in rx.observables Modifier and Type Class Description (package private) static classAsyncOnSubscribe.UnicastSubject<T>classConnectableObservable<T>AConnectableObservableresembles an ordinaryObservable, except that it does not begin emitting items when it is subscribed to, but only when itsConnectableObservable.connect()method is called.classGroupedObservable<K,T>AnObservablethat has been grouped by key, the value of which can be obtained withGroupedObservable.getKey().Fields in rx.observables declared as Observable Modifier and Type Field Description private Observable<? extends T>BlockingObservable. oFields in rx.observables with type parameters of type Observable Modifier and Type Field Description private AsyncOnSubscribe.UnicastSubject<Observable<T>>AsyncOnSubscribe.AsyncOuterManager. mergerprivate Func3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>,? extends S>AsyncOnSubscribe.AsyncOnSubscribeImpl. nextprivate SerializedObserver<Observable<? extends T>>AsyncOnSubscribe.AsyncOuterManager. serializedSubscriberMethods in rx.observables that return Observable Modifier and Type Method Description Observable<T>ConnectableObservable. autoConnect()Returns an Observable that automatically connects to this ConnectableObservable when the first Subscriber subscribes.Observable<T>ConnectableObservable. autoConnect(int numberOfSubscribers)Returns an Observable that automatically connects to this ConnectableObservable when the specified number of Subscribers subscribe to it.Observable<T>ConnectableObservable. autoConnect(int numberOfSubscribers, Action1<? super Subscription> connection)Returns an Observable that automatically connects to this ConnectableObservable when the specified number of Subscribers subscribe to it and calls the specified callback with the Subscription associated with the established connection.Observable<T>ConnectableObservable. refCount()Returns anObservablethat stays connected to thisConnectableObservableas long as there is at least one subscription to thisConnectableObservable.Methods in rx.observables with parameters of type Observable Modifier and Type Method Description private TBlockingObservable. blockForSingle(Observable<? extends T> observable)Helper method which handles the actual blocking for a single response.static <T> BlockingObservable<T>BlockingObservable. from(Observable<? extends T> o)Converts anObservableinto aBlockingObservable.static <K,T>
GroupedObservable<K,T>GroupedObservable. from(K key, Observable<T> o)Converts anObservableinto aGroupedObservablewith a particular key.voidAsyncOnSubscribe.AsyncOuterManager. onNext(Observable<? extends T> t)private voidAsyncOnSubscribe.AsyncOuterManager. subscribeBufferToObservable(Observable<? extends T> t)Method parameters in rx.observables with type arguments of type Observable Modifier and Type Method Description static <S,T>
AsyncOnSubscribe<S,T>AsyncOnSubscribe. createSingleState(Func0<? extends S> generator, Action3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>> next)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.static <S,T>
AsyncOnSubscribe<S,T>AsyncOnSubscribe. createSingleState(Func0<? extends S> generator, Action3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>> next, Action1<? super S> onUnsubscribe)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.static <S,T>
AsyncOnSubscribe<S,T>AsyncOnSubscribe. createStateful(Func0<? extends S> generator, Func3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>,? extends S> next)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.static <S,T>
AsyncOnSubscribe<S,T>AsyncOnSubscribe. createStateful(Func0<? extends S> generator, Func3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>,? extends S> next, Action1<? super S> onUnsubscribe)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.static <T> AsyncOnSubscribe<java.lang.Void,T>AsyncOnSubscribe. createStateless(Action2<java.lang.Long,? super Observer<Observable<? extends T>>> next)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.static <T> AsyncOnSubscribe<java.lang.Void,T>AsyncOnSubscribe. createStateless(Action2<java.lang.Long,? super Observer<Observable<? extends T>>> next, Action0 onUnsubscribe)Generates a synchronousAsyncOnSubscribethat calls the providednextfunction to generate data to downstream subscribers.protected SAsyncOnSubscribe.AsyncOnSubscribeImpl. next(S state, long requested, Observer<Observable<? extends T>> observer)protected abstract SAsyncOnSubscribe. next(S state, long requested, Observer<Observable<? extends T>> observer)Called to produce data to the downstream subscribers.Constructors in rx.observables with parameters of type Observable Constructor Description BlockingObservable(Observable<? extends T> o)Constructor parameters in rx.observables with type arguments of type Observable Constructor Description AsyncOnSubscribeImpl(Func0<? extends S> generator, Func3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>,? extends S> next)AsyncOnSubscribeImpl(Func0<? extends S> generator, Func3<? super S,java.lang.Long,? super Observer<Observable<? extends T>>,? extends S> next, Action1<? super S> onUnsubscribe)AsyncOnSubscribeImpl(Func3<S,java.lang.Long,Observer<Observable<? extends T>>,S> nextFunc)AsyncOnSubscribeImpl(Func3<S,java.lang.Long,Observer<Observable<? extends T>>,S> next, Action1<? super S> onUnsubscribe)AsyncOuterManager(AsyncOnSubscribe<S,T> parent, S initialState, AsyncOnSubscribe.UnicastSubject<Observable<T>> merger) -
Uses of Observable in rx.plugins
Fields in rx.plugins with type parameters of type Observable Modifier and Type Field Description (package private) static Func2<Observable,Observable.OnSubscribe,Observable.OnSubscribe>RxJavaHooks. onObservableStartMethods in rx.plugins that return types with arguments of type Observable Modifier and Type Method Description static Func2<Observable,Observable.OnSubscribe,Observable.OnSubscribe>RxJavaHooks. getOnObservableStart()Returns the current Observable onStart hook function or null if it is set to the default pass-through.Methods in rx.plugins with parameters of type Observable Modifier and Type Method Description static <T> Observable.OnSubscribe<T>RxJavaHooks. onObservableStart(Observable<T> instance, Observable.OnSubscribe<T> onSubscribe)Hook to call before the child subscriber is subscribed to the OnSubscribe action.<T> Observable.OnSubscribe<T>RxJavaObservableExecutionHook. onSubscribeStart(Observable<? extends T> observableInstance, Observable.OnSubscribe<T> onSubscribe)Deprecated.Method parameters in rx.plugins with type arguments of type Observable Modifier and Type Method Description static voidRxJavaHooks. setOnObservableStart(Func2<Observable,Observable.OnSubscribe,Observable.OnSubscribe> onObservableStart)Sets the hook function that is called when a subscriber subscribes to a Observable unless a lockdown is in effect. -
Uses of Observable in rx.subjects
Subclasses of Observable in rx.subjects Modifier and Type Class Description classAsyncSubject<T>Subject that publishes only the last item observed to eachObserveronce the sourceObservablehas completed.classBehaviorSubject<T>Subject that emits the most recent item it has observed and all subsequent observed items to each subscribedObserver.classPublishSubject<T>Subject that, once anObserverhas subscribed, emits all subsequently observed items to the subscriber.classReplaySubject<T>Subject that buffers all items it observes and replays them to anyObserverthat subscribes.classSerializedSubject<T,R>Wraps aSubjectso that it is safe to call its variousonmethods from different threads.classSubject<T,R>Represents an object that is both an Observable and an Observer.classTestSubject<T>A variety of Subject that is useful for testing purposes.classUnicastSubject<T>A Subject variant which buffers events until a single Subscriber arrives and replays them to it and potentially switches to direct delivery once the Subscriber caught up and requested an unlimited amount.
-