Observable for the
implementation of the Reactive Pattern for a stream or vector of values.
Single behaves the same as Observable except that it can only emit either a single successful
value, or an error (there is no "onComplete" notification as there is for Observable)
Like an Observable, a Single is lazy, can be either "hot" or "cold", synchronous or
asynchronous.
The documentation for this class makes use of marble diagrams. The following legend explains these diagrams:
For more information see the ReactiveX documentation.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static interface | Single.Transformer<
the source Single's value type T, the transformed Single's value type R>Convenience type that allows a function to fluently transform a
Single into another Single via |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Single. |
| Access | Constructor and Description |
|---|---|
| protected | Single(Single.
f to be executed when execute(SingleSubscriber) or
subscribe(Subscriber) is calledCreates a Single with a Function to execute when it is subscribed to (executed). |
| protected | Single(final Observable.
f to be executed when execute(SingleSubscriber) or
subscribe(Subscriber) is called
Deprecated
1.2.1: Not recommended, use
Creates a Single with a Function to execute when it is subscribed to (executed).
Single(OnSubscribe) to avoid wrapping and
conversion between the Observable and Single protocols.
|
| Modifier and Type | Method and Description |
|---|---|
| private static <T> Observable | |
| public final Single | Returns: a Single that, when first subscribed to, caches its response for the benefit of subsequent subscribersReturns a Single that subscribes to this Single lazily, caches its success or error event and replays it to all the downstream subscribers. |
| public final < the target type R> Single | |
| public < the value type of the single returned by the transformer function R> Single | Returns: the source Single, transformed by the transformer functionimplements the function that transforms the source Single transformerTransform a Single by applying a particular Transformer function to it. |
| public static < the common value type T> Observable | |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the three source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3)Returns an Observable that emits the items emitted by three Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the four source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4)Returns an Observable that emits the items emitted by four Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the five source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4, Single<? extends T> a Single to be concatenated t5)Returns an Observable that emits the items emitted by five Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the six source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4, Single<? extends T> a Single to be concatenated t5, Single<? extends T> a Single to be concatenated t6)Returns an Observable that emits the items emitted by six Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the seven source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4, Single<? extends T> a Single to be concatenated t5, Single<? extends T> a Single to be concatenated t6, Single<? extends T> a Single to be concatenated t7)Returns an Observable that emits the items emitted by seven Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the eight source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4, Single<? extends T> a Single to be concatenated t5, Single<? extends T> a Single to be concatenated t6, Single<? extends T> a Single to be concatenated t7, Single<? extends T> a Single to be concatenated t8)Returns an Observable that emits the items emitted by eight Singles, one after the other. |
| public static < the common value type T> Observable | Returns: an Observable that emits items emitted by the nine source Singles, one after the other.a Single to be concatenated t1, Single<? extends T> a Single to be concatenated t2, Single<? extends T> a Single to be concatenated t3, Single<? extends T> a Single to be concatenated t4, Single<? extends T> a Single to be concatenated t5, Single<? extends T> a Single to be concatenated t6, Single<? extends T> a Single to be concatenated t7, Single<? extends T> a Single to be concatenated t8, Single<? extends T> a Single to be concatenated t9)Returns an Observable that emits the items emitted by nine Singles, one after the other. |
| public final Observable | Returns: an Observable that emits the item emitted by the source Single, followed by the item emitted byt1a Single to be concatenated after the current t1)Returns an Observable that emits the item emitted by the source Single, then the item emitted by the specified Single. |
| public static < the type of the item that this Single emits T> Single | Returns: a Single that, when aSubscriber subscribes to it, will execute the specified functiona function that accepts an fSingleSubscriber<T>, and invokes its onSuccess or
onError methods as appropriateReturns a Single that will execute the specified function when a |
| public static < the type of the items emitted by the T> SingleSingle. | |
| public final Single | Returns: the source Single shifted in time by the specified delaythe delay to shift the source by delay, TimeUnit the time unit of unit, Scheduler delaythe scheduler)Scheduler to use for delayingReturns a Single that emits the items emitted by the source Single shifted forward in time by a specified delay. |
| public final Single | |
| public final Single | Returns: a Single that delays the subscription to this Single until the Observable emits an element or completes normally.the Observable that should trigger the subscription
to this Single. other)Returns a Single that delays the subscription to this Single until the Observable completes. |
| public final Single | doAfterTerminate(Action0 action)
Registers an |
| public final Single | |
| public final Single | |
| public final Single | Returns: the sourceSingle modified so as to call this Action when appropriatethe action that gets called when an observer subscribes to this subscribe)SingleModifies the source |
| public final Single | Returns: the sourceSingle with the side-effecting behavior appliedthe action to invoke when the source onSuccess)Single calls onSuccessModifies the source |
| public final Single | Returns: the sourceSingle modified so as to call this Action when appropriate.the action that gets called when this action)Single is unsubscribed.Modifies the source |
| public static < the type of the item (ostensibly) emitted by the Single T> Single | |
| public final < the result value type R> Single | Returns: the Single returned fromfunc when applied to the item emitted by the source Singlea function that, when applied to the item emitted by the source Single, returns a Single func)Returns a Single that is based on applying a specified function to the item emitted by the source Single, where that function returns a Single. |
| public final Completable | Returns: the Completable returned fromfunc when applied to the item emitted by the source Singlea function that, when applied to the item emitted by the source Single, returns a
Completable func)Returns a |
| public final < the result value type R> Observable | Returns: the Observable returned fromfunc when applied to the item emitted by the source Singlea function that, when applied to the item emitted by the source Single, returns an
Observable 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. |
| public static < the type of object that the T> SingleFuture returns, and also the type of item to be emitted by
the resulting Single | |
| public static < the type of object that the T> SingleFuture returns, and also the type of item to be emitted by
the resulting Single | |
| public static < the type of object that the T> SingleFuture returns, and also the type of item to be emitted by
the resulting Single | |
| public static < the type of the item emitted by the T> SingleSingle. | fromCallable(final Callable<? extends T>
function which execution should be deferred, it will be invoked when Observer will subscribe to the func)Single.Returns a |
| public static < the success value type T> Single | Returns: the new Single instancethe callback invoked for each incoming SingleSubscriber producer)Provides an API (in a cold Single) that bridges the Single-reactive world with the callback-based world. |
| pack-priv static <T> Single | Returns: array ofSingle with same length as passed iterable.non null iterable of singlesIterable)Single.FOR INTERNAL USE ONLY. |
| public static < the type of that item T> Single | Returns: aSingle that emits valuethe item to emit value)Returns a |
| public final < the downstream's value type (output) R> Single | Returns: a Single that is the result of applying the lifted Operator to the source Singlethe Operator that implements the Single-operating function to be applied to the source Single liftLifts a function to the current Single and returns a new Single that when subscribed to will pass the values of the current Single through the Operator function. |
| public final < the result value type R> Single | Returns: a Single that emits the item from the source Single, transformed by the specified functiona function to apply to the item emitted by the Single func)Returns a Single that applies a specified function to the item emitted by the source Single and emits the result of this function application. |
| public static < the value type of the sources and the output T> Single | Returns: aSingle that emits the item that is the result of flattening the Single emitted
by sourcea source)Single that emits a SingleFlattens a |
| public static < the common value type T> Observable | |
| public static < the common value type T> Observable | |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4)Flattens four Singles into a single Observable, without any transformation. |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4, Single<? extends T> a Single to be merged t5)Flattens five Singles into a single Observable, without any transformation. |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4, Single<? extends T> a Single to be merged t5, Single<? extends T> a Single to be merged t6)Flattens six Singles into a single Observable, without any transformation. |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4, Single<? extends T> a Single to be merged t5, Single<? extends T> a Single to be merged t6, Single<? extends T> a Single to be merged t7)Flattens seven Singles into a single Observable, without any transformation. |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4, Single<? extends T> a Single to be merged t5, Single<? extends T> a Single to be merged t6, Single<? extends T> a Single to be merged t7, Single<? extends T> a Single to be merged t8)Flattens eight Singles into a single Observable, without any transformation. |
| public static < the common value type T> Observable | Returns: an Observable that emits all of the items emitted by the source Singlesa Single to be merged t1, Single<? extends T> a Single to be merged t2, Single<? extends T> a Single to be merged t3, Single<? extends T> a Single to be merged t4, Single<? extends T> a Single to be merged t5, Single<? extends T> a Single to be merged t6, Single<? extends T> a Single to be merged t7, Single<? extends T> a Single to be merged t8, Single<? extends T> a Single to be merged t9)Flattens nine Singles into a single Observable, without any transformation. |
| public static < the value type of the inner Singles and the resulting Observable T> Observable | Returns: the new Observable instancethe Observable that emits Singles to be merged sources)Merges all Singles emitted by the Observable and runs them together until the source Observable and all inner Singles complete normally. |
| public static < the value type of the inner Singles and the resulting Observable T> Observable | Returns: the new Observable instancethe Observable that emits Singles to be merged sources, int the maximum number of inner Singles to run at a time maxConcurrency)Merges the Singles emitted by the Observable and runs up to the given number of them together at a time, until the Observable and all inner Singles terminate. |
| public static < the value type of the inner Singles and the resulting Observable T> Observable | Returns: the new Observable instancethe Observable that emits Singles to be merged sources)Merges all Singles emitted by the Observable and runs them together, delaying errors from them and the Observable, until the source Observable and all inner Singles complete normally. |
| public static < the value type of the inner Singles and the resulting Observable T> Observable | Returns: the new Observable instancethe Observable that emits Singles to be merged sources, int the maximum number of inner Singles to run at a time maxConcurrency)Merges the Singles emitted by the Observable and runs up to the given number of them together at a time, delaying errors from them and the Observable, until the Observable and all inner Singles terminate. |
| public final Observable | |
| public final Single | |
| public final Single | Returns: the original Single, with appropriately modified behavior.a Single that will take control if source Single encounters an error. resumeSingleInCaseOfError)Instructs a Single to pass control to another Single rather than invoking
|
| public final Single | Returns: the original Single, with appropriately modified behavior.a function that returns a Single that will take control if source Single encounters an error. resumeFunctionInCaseOfError)Instructs a Single to pass control to another Single rather than invoking
|
| public final Single | Returns: the original Single with appropriately modified behaviora function that returns an item that the new Single will emit if the source Single encounters
an error resumeFunction)Instructs a Single to emit an item (returned by a specified function) rather than invoking
|
| public final Single | Returns: the source Single modified with retry logicReturns a Single that mirrors the source Single, resubscribing to it if it calls |
| public final Single | Returns: the source Single modified with retry logicnumber of retry attempts before failing count)Returns a Single that mirrors the source Single, resubscribing to it if it calls |
| public final Single | Returns: the source Single modified with retry logicthe predicate that determines if a resubscription may happen in case of a specific exception
and retry count predicate)Returns a Single that mirrors the source Single, resubscribing to it if it calls |
| public final Single | Returns: the source Single modified with retry logicreceives an Observable of notifications with which a user can complete or error, aborting the
retry notificationHandler)Returns a Single that emits the same values as the source Single with the exception of an
|
| public final Subscription | |
| public final Subscription | |
| public final Subscription | subscribe(final Action1<? super T>
the onSuccess, final Action1<Throwable> Action1<T> you have designed to accept the emission from the Singlethe onError)Action1<Throwable> you have designed to accept any error notification from the
SingleSubscribes to a Single and provides callbacks to handle the item it emits or any error notification it issues. |
| public final Subscription | |
| public final Subscription | subscribe(Subscriber<? super T>
the subscriber)Subscriber that will handle the emission or notification from the SingleSubscribes to a Single and provides a Subscriber that implements functions to handle the item the Single emits or any error notification it issues. |
| public final Subscription | subscribe(final SingleSubscriber<? super T>
the te)SingleSubscriber that will handle the emission or notification from the SingleSubscribes to a Single and provides a |
| public final Single | Returns: the source Single modified so that its subscriptions happen on the specifiedSchedulerthe scheduler)Scheduler to perform subscription actions onAsynchronously subscribes subscribers to this Single on the specified |
| public final Single | Returns: a Single that emits the item emitted by the source Single until such time asother terminates.the Completable whose termination will cause other)takeUntil to emit the item from the source
SingleReturns a Single that emits the item emitted by the source Single until a Completable terminates. |
| public final < the type of items emitted by E> Singleother | Returns: a Single that emits the item emitted by the source Single until such time asother emits
its first itemthe Observable whose first emitted item will cause other)takeUntil to emit the item from the source
SingleReturns a Single that emits the item emitted by the source Single until an Observable emits an item. |
| public final < the type of item emitted by E> Singleother | Returns: a Single that emits the item emitted by the source Single until such time asother emits its itemthe Single whose emitted item will cause other)takeUntil to emit the item from the source SingleReturns a Single that emits the item emitted by the source Single until a second Single emits an item. |
| public final AssertableSubscriber | Returns: the new AssertableSubscriber instanceCreates an AssertableSubscriber that requests |
| public final Single | Returns: the source Single modified to notify subscribers of aTimeoutException in case of a
timeoutmaximum duration before the Single times out timeout, TimeUnit the unit of time that applies to the timeUnit)timeout argument.Returns a Single that mirrors the source Single but applies a timeout policy for its emitted item. |
| public final Single | Returns: the source Single modified to notify subscribers of aTimeoutException in case of a
timeoutmaximum duration before the Single times out timeout, TimeUnit the unit of time that applies to the timeUnit, Scheduler timeout argumentthe Scheduler to run the timeout timers on scheduler)Returns a Single that mirrors the source Single but applies a timeout policy for its emitted item, where this policy is governed on a specified Scheduler. |
| public final Single | Returns: the source Single modified to switch to the fallback Single in case of a timeoutmaximum time before a timeout occurs timeout, TimeUnit the unit of time that applies to the timeUnit, Single<? extends T> timeout argumentthe fallback Single to use in case of a timeout other)Returns a Single that mirrors the source Single but applies a timeout policy for its emitted item. |
| public final Single | Returns: the source Single modified so that it will switch to the fallback Single in case of a timeoutmaximum duration before a timeout occurs timeout, TimeUnit the unit of time that applies to the timeUnit, Single<? extends T> timeout argumentthe Single to use as the fallback in case of a timeout other, Scheduler the scheduler)Scheduler to run the timeout timers onReturns a Single that mirrors the source Single but applies a timeout policy for its emitted item, using a specified Scheduler. |
| public final < the resulting object type R> R | |
| public final BlockingSingle | Returns: aBlockingSingle version of this Single.Converts a Single into a |
| public final Completable | Returns: aCompletable that calls onCompleted on it's subscriber when the source Single
calls onSuccess.Returns a |
| public final Observable | Returns: anObservable that emits a single item T.Converts this Single into an |
| public final Subscription | Returns: the subscription that allows unsubscribingthe Subscriber that will handle the emission or notification from the Single subscriber)Subscribes to a Single and invokes the |
| private Subscription | |
| public final Single | Returns: the new Single instancethe target scheduler where to execute the cancellation scheduler)Returns a Single which makes sure when a subscriber cancels the subscription, the dispose is called on the specified scheduler |
| public static < the value type of the generated source T, the type of the per-subscriber resource Resource> Single | Returns: the Single whose lifetime controls the lifetime of the dependent resource objectthe factory function to create a resource object that depends on the Single resourceFactory, final Func1<? super Resource, ? extends Single<? extends T>> the factory function to create a Single singleFactory, final Action1<? super Resource> the function that will dispose of the resource disposeAction)Constructs a Single that creates a dependent resource object which is disposed of on unsubscription. |
| public static < the value type of the generated source T, the type of the per-subscriber resource Resource> Single | Returns: the Single whose lifetime controls the lifetime of the dependent resource objectthe factory function to create a resource object that depends on the Single resourceFactory, final Func1<? super Resource, ? extends Single<? extends T>> the factory function to create a Single singleFactory, final Action1<? super Resource> the function that will dispose of the resource disposeAction, boolean if disposeEagerly)true then disposal will happen either on unsubscription or just before emission of
a terminal event (onComplete or onError).Constructs a Single that creates a dependent resource object which is disposed of just before
termination if you have set |
| public static < the first source Single's value type T1, the second source Single's value type T2, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, final Func2<? super T1, ? super T2, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns a Single that emits the results of a specified combiner function applied to two items emitted by two other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, final Func3<? super T1, ? super T2, ? super T3, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns a Single that emits the results of a specified combiner function applied to three items emitted by three other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, final Func4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to four items emitted by four other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the fifth source Single's value type T5, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, Single<? extends T5> a fifth source Single s5, final Func5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to five items emitted by five other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the fifth source Single's value type T5, the sixth source Single's value type T6, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, Single<? extends T5> a fifth source Single s5, Single<? extends T6> a sixth source Single s6, final Func6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to six items emitted by six other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the fifth source Single's value type T5, the sixth source Single's value type T6, the seventh source Single's value type T7, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, Single<? extends T5> a fifth source Single s5, Single<? extends T6> a sixth source Single s6, Single<? extends T7> a seventh source Single s7, final Func7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to seven items emitted by seven other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the fifth source Single's value type T5, the sixth source Single's value type T6, the seventh source Single's value type T7, the eighth source Single's value type T8, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, Single<? extends T5> a fifth source Single s5, Single<? extends T6> a sixth source Single s6, Single<? extends T7> a seventh source Single s7, Single<? extends T8> an eighth source Single s8, final Func8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to eight items emitted by eight other Singles. |
| public static < the first source Single's value type T1, the second source Single's value type T2, the third source Single's value type T3, the fourth source Single's value type T4, the fifth source Single's value type T5, the sixth source Single's value type T6, the seventh source Single's value type T7, the eighth source Single's value type T8, the ninth source Single's value type T9, the result value type R> Single | Returns: a Single that emits the zipped resultsthe first source Single s1, Single<? extends T2> a second source Single s2, Single<? extends T3> a third source Single s3, Single<? extends T4> a fourth source Single s4, Single<? extends T5> a fifth source Single s5, Single<? extends T6> a sixth source Single s6, Single<? extends T7> a seventh source Single s7, Single<? extends T8> an eighth source Single s8, Single<? extends T9> a ninth source Single s9, final Func9<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? super T9, ? extends R> a function that, when applied to the item emitted by each of the source Singles, results in an
item that will be emitted by the resulting Single zipFunction)Returns an Observable that emits the results of a specified combiner function applied to nine items emitted by nine other Singles. |
| public static < the result value type R> Single | Returns: a Single that emits the zipped resultsan Iterable of source Singles. Should not be empty because singles, FuncN<? extends R> Single either emits result or error.
java. will be emit as error if Iterable will be empty.a function that, when applied to an item emitted by each of the source Singles, results in
an item that will be emitted by the resulting Single zipFunction)Returns a Single that emits the result of specified combiner function applied to combination of items emitted, in sequence, by an Iterable of other Singles. |
| public final < the type of items emitted by the T2, other Singlethe type of items emitted by the resulting Single R> Single | Returns: an Observable that pairs up values from the source Observable and theother Observable
and emits the results of zipFunction applied to these pairsthe other Observable other, Func2<? super T, ? super T2, ? extends R> a function that combines the pairs of items from the two Observables to generate the items to
be emitted by the resulting Single zipFunction)Returns a Single that emits the result of applying a specified function to the pair of items emitted by the source Single and another specified Single. |