| Package | Description |
|---|---|
| rx |
Rx Observables
|
| rx.functions | |
| rx.internal.operators |
Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.
|
| rx.observables |
| Modifier and Type | Method and Description |
|---|---|
static <T1 |
Observable.combineLatest(Observable
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.
|
<U |
Observable.flatMap(Func1
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 |
Observable.flatMap(Func1
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.
|
<U |
Observable.flatMapIterable(Func1
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.
|
<T2 |
Observable.groupJoin(Observable
Returns an Observable that correlates two Observables when they overlap in time and groups the results.
|
<TRight |
Observable.join(Observable
Correlates the items emitted by two Observables based on overlapping durations.
|
Observable |
Observable.reduce(Func2
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.
|
<R> Observable |
Observable.reduce(R initialValue, Func2
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 |
Observable.retry(Func2
Returns an Observable that mirrors the source Observable, resubscribing to it if it calls
onError and the predicate returns true for that specific exception and retry count.
|
Observable |
Observable.scan(Func2
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.
|
<R> Observable |
Observable.scan(R initialValue, Func2
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.
|
static <T> Observable |
Observable.sequenceEqual(Observable
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 |
Observable.toSortedList(Func2
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 |
Observable.toSortedList(Func2
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.
|
<U |
Observable.withLatestFrom(Observable
Merges the specified Observable into this Observable sequence by using the
resultSelector function only when the source Observable (this instance) emits an item.
|
static <T1 |
Observable.zip(Observable
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 |
Single.zip(Single
Returns a Single that emits the results of a specified combiner function applied to two items emitted by two other Singles.
|
<T2 |
Observable.zipWith(Iterable
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 |
Observable.zipWith(Observable
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.
|
<T2 |
Single.zipWith(Single
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.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1 |
Actions.toFunc(Action2
Converts an
Action2 to a function that calls the action and returns
null.
|
static <T1 |
Actions.toFunc(Action2
Converts an
Action2 to a function that calls the action and returns a specified value.
|
| Modifier and Type | Method and Description |
|---|---|
static <T0 |
Functions.fromFunc(Func2
|
| Modifier and Type | Field and Description |
|---|---|
protected Func2 |
OnSubscribeGroupJoin.resultSelector
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Func2 |
OperatorSkipWhile.toPredicate2(Func1
Convert to Func2 type predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Observable |
OperatorSequenceEqual.sequenceEqual(Observable
Tests whether two
Observable sequences are identical, emitting
true if both sequences complete without differing, and
false if the two sequences diverge at any point.
|
| Constructor and Description | |
|---|---|
OnSubscribeGroupJoin(Observable
|
|
OnSubscribeJoin(Observable
|
|
OperatorMapPair(Func1
|
|
OperatorRetryWithPredicate(Func2
|
|
OperatorScan(Func0
|
|
OperatorScan(Func2
Applies an accumulator function over an observable sequence and returns each intermediate result with the specified source and accumulator.
|
|
OperatorScan(R initialValue, Func2
Applies an accumulator function over an observable sequence and returns each intermediate result with the specified source and accumulator.
|
|
OperatorSkipWhile(Func2
|
|
OperatorTakeWhile(Func2
|
|
OperatorToObservableSortedList(Func2
|
|
OperatorWithLatestFrom(Observable
|
|
OperatorZip(Func2
|
|
OperatorZipIterable(Iterable
|
|
RetryWithPredicate(Func2
|
| Modifier and Type | Method and Description |
|---|---|
static <S |
SyncOnSubscribe.createStateful(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|
static <S |
SyncOnSubscribe.createStateful(Func0
Generates a synchronous
SyncOnSubscribe that calls the provided
next function to generate data to downstream subscribers.
|