Package | Description |
---|---|
rx |
Rx Observables
|
rx.functions |
Modifier and Type | Method and Description |
---|---|
static <T,R> Observable<R> |
Observable.combineLatest(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 <R> Observable<R> |
Observable.zip(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.
|
Modifier and Type | Method and Description |
---|---|
static FuncN<Void> |
Functions.fromAction(Action0 f)
|
static <T0> FuncN<Void> |
Functions.fromAction(Action1<? super T0> f)
|
static <T0,T1> FuncN<Void> |
Functions.fromAction(Action2<? super T0,? super T1> f)
|
static <T0,T1,T2> FuncN<Void> |
Functions.fromAction(Action3<? super T0,? super T1,? super T2> f)
|
static <R> FuncN<R> |
Functions.fromFunc(Func0<? extends R> f)
|
static <T0,R> FuncN<R> |
Functions.fromFunc(Func1<? super T0,? extends R> f)
|
static <T0,T1,R> FuncN<R> |
Functions.fromFunc(Func2<? super T0,? super T1,? extends R> f)
|
static <T0,T1,T2,R> |
Functions.fromFunc(Func3<? super T0,? super T1,? super T2,? extends R> f)
|
static <T0,T1,T2,T3,R> |
Functions.fromFunc(Func4<? super T0,? super T1,? super T2,? super T3,? extends R> f)
|
static <T0,T1,T2,T3,T4,R> |
Functions.fromFunc(Func5<? super T0,? super T1,? super T2,? super T3,? super T4,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,R> |
Functions.fromFunc(Func6<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,R> |
Functions.fromFunc(Func7<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,T7,R> |
Functions.fromFunc(Func8<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,T7,T8,R> |
Functions.fromFunc(Func9<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> f)
|
static FuncN<Void> |
Actions.toFunc(ActionN action)
Converts an
ActionN to a function that calls the action and returns null . |
static <R> FuncN<R> |
Actions.toFunc(ActionN action,
R result)
Converts an
ActionN to a function that calls the action and returns a specified value. |
Copyright © 2015. All Rights Reserved.