| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ObservableSource | |
| pack-priv final Iterable |
| Access | Constructor and Description |
|---|---|
| public | ObservableAmb(ObservableSource<? extends T>[] sources, Iterable<? extends ObservableSource<? extends T>> sourcesIterable)
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| sources | back to summary |
|---|---|
| pack-priv final ObservableSource<? extends T>[] sources | |
| sourcesIterable | back to summary |
|---|---|
| pack-priv final Iterable<? extends ObservableSource<? extends T>> sourcesIterable | |
| ObservableAmb | back to summary |
|---|---|
| public ObservableAmb(ObservableSource<? extends T>[] sources, Iterable<? extends ObservableSource<? extends T>> sourcesIterable) | |
| subscribeActual | back to summary |
|---|---|
public void subscribeActual(Observer<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Observer | |
| pack-priv final ObservableAmb. | |
| pack-priv final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | |
| public boolean |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super T> downstream | |
| observers | back to summary |
|---|---|
| pack-priv final ObservableAmb. | |
| winner | back to summary |
|---|---|
| pack-priv final AtomicInteger winner | |
| AmbCoordinator | back to summary |
|---|---|
pack-priv AmbCoordinator(Observer<? super T> actual, int count)
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| subscribe | back to summary |
|---|---|
| public void subscribe(ObservableSource<? extends T>[] sources) | |
| win | back to summary |
|---|---|
| public boolean win(int index) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Observer | |
| pack-priv final int | |
| pack-priv final ObservableAmb. | |
| private static final long | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | onComplete()
Implements io. Observer that the Observable has finished sending push-based notifications.
|
| public void | |
| public void | onNext(T
the item emitted by the Observable t)Implements io. Observer with a new item to observe.
|
| public void |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super T> downstream | |
| index | back to summary |
|---|---|
| pack-priv final int index | |
| parent | back to summary |
|---|---|
| pack-priv final ObservableAmb. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| won | back to summary |
|---|---|
| pack-priv boolean won | |
| AmbInnerObserver | back to summary |
|---|---|
| pack-priv AmbInnerObserver(ObservableAmb. | |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Notifies the
The
| |
| onError | back to summary |
|---|---|
public void onError(Throwable t)
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the
The
The
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |