Package | Description |
---|---|
rx |
Rx Observables
|
rx.functions |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3,T4,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,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,R> |
Single.zip(Single<? extends T1> o1,
Single<? extends T2> o2,
Single<? extends T3> o3,
Single<? 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 four items
emitted by four other Singles.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3,T4> |
Actions.toFunc(Action4<T1,T2,T3,T4> action)
Converts an
Action4 to a function that calls the action and returns null . |
static <T1,T2,T3,T4,R> |
Actions.toFunc(Action4<T1,T2,T3,T4> action,
R result)
Converts an
Action4 to a function that calls the action and returns a specified value. |
Modifier and Type | Method and Description |
---|---|
static <T0,T1,T2,T3,R> |
Functions.fromFunc(Func4<? super T0,? super T1,? super T2,? super T3,? extends R> f)
|
Copyright © 2015. All Rights Reserved.