| Package | Description |
|---|---|
| rx |
Rx Observables
|
| rx.functions |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
| Modifier and Type | Method and Description |
|---|---|
static <T0,T1> FuncN<Void> |
Functions.fromAction(Action2<? super T0,? super T1> f)
|
static <T1,T2> Func2<T1,T2,Void> |
Actions.toFunc(Action2<T1,T2> action)
Converts an
Action2 to a function that calls the action and returns null. |
static <T1,T2,R> Func2<T1,T2,R> |
Actions.toFunc(Action2<T1,T2> action,
R result)
Converts an
Action2 to a function that calls the action and returns a specified value. |
Copyright © 2016. All rights reserved.