Observables, propagates the one that first emits an item.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Iterable |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2)ObservableGiven two |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3)ObservableGiven three |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4)ObservableGiven four |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4, Observable<? extends T> Observablethe fifth o5)ObservableGiven five |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4, Observable<? extends T> Observablethe fifth o5, Observable<? extends T> Observablethe sixth o6)ObservableGiven six |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4, Observable<? extends T> Observablethe fifth o5, Observable<? extends T> Observablethe sixth o6, Observable<? extends T> Observablethe seventh o7)ObservableGiven seven |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4, Observable<? extends T> Observablethe fifth o5, Observable<? extends T> Observablethe sixth o6, Observable<? extends T> Observablethe seventh o7, Observable<? extends T> Observablethe eighth o8)ObservableGiven eight |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the source Observables that was first to
emit an itemthe first o1, Observable<? extends T> Observablethe second o2, Observable<? extends T> Observablethe third o3, Observable<? extends T> Observablethe fourth o4, Observable<? extends T> Observablethe fifth o5, Observable<? extends T> Observablethe sixth o6, Observable<? extends T> Observablethe seventh o7, Observable<? extends T> Observablethe eighth o8, Observable<? extends T> Observablethe ninth o9)ObservableGiven nine |
| public static < the common value base type T> Observable. | Returns: anObservable that mirrors the one of the Observables in sources that was
the first to emit an iteman sources)Iterable of ObservablesGiven a set of |
| public void | |
| pack-priv static <T> void |
| sources | back to summary |
|---|---|
| pack-priv final Iterable<? extends Observable<? extends T>> sources | |
| OnSubscribeAmb | back to summary |
|---|---|
| private OnSubscribeAmb(Iterable<? extends Observable<? extends T>> sources) | |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given two
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given three
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given four
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given five
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given six
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given seven
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given eight
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given nine
| |
| amb | back to summary |
|---|---|
| public static <T> Observable. Given a set of
| |
| call | back to summary |
|---|---|
| public void call(final Subscriber<? super T> subscriber) Implements rx.
| |
| unsubscribeAmbSubscribers | back to summary |
|---|---|
| pack-priv static <T> void unsubscribeAmbSubscribers(Collection<OnSubscribeAmb. | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final OnSubscribeAmb. | |
| private final Subscriber |
| Access | Constructor and Description |
|---|---|
| pack-priv | AmbSubscriber(long requested, Subscriber<? super T> subscriber, OnSubscribeAmb.
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| private void |
| chosen | back to summary |
|---|---|
| private boolean chosen | |
| selection | back to summary |
|---|---|
| private final OnSubscribeAmb. | |
| subscriber | back to summary |
|---|---|
| private final Subscriber<? super T> subscriber Hides rx. | |
| AmbSubscriber | back to summary |
|---|---|
| pack-priv AmbSubscriber(long requested, Subscriber<? super T> subscriber, OnSubscribeAmb. | |
| isSelected | back to summary |
|---|---|
| private boolean isSelected() | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| requestMore | back to summary |
|---|---|
| private void requestMore(long n) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Collection |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| ambSubscribers | back to summary |
|---|---|
| pack-priv final Collection<OnSubscribeAmb. | |
| Selection | back to summary |
|---|---|
| pack-priv Selection() | |
| unsubscribeLosers | back to summary |
|---|---|
| public void unsubscribeLosers() | |
| unsubscribeOthers | back to summary |
|---|---|
| public void unsubscribeOthers(OnSubscribeAmb. | |