| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final Observable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, Optional<? extends R>> mapper | |
| source | back to summary |
|---|---|
| pack-priv final Observable<T> source | |
| ObservableMapOptional | back to summary |
|---|---|
| public ObservableMapOptional(Observable<T> source, Function<? super T, Optional<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Observer<? super R> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | MapOptionalObserver(Observer<? super R> downstream, Function<? super T, Optional<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onNext(T
the item emitted by the Observable t)Implements io. Observer with a new item to observe.
|
| public R | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, Optional<? extends R>> mapper | |
| MapOptionalObserver | back to summary |
|---|---|
| pack-priv MapOptionalObserver(Observer<? super R> downstream, Function<? super T, Optional<? extends R>> mapper) | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the
The
The
| |
| poll | back to summary |
|---|---|
| public R poll() throws Throwable Implements io. Doc from io. Tries to dequeue a value (non-null) or returns null if the queue is empty.
If the producer uses | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Implements io. Doc from io. Request a fusion mode from the upstream.
This should be called before
Calling this method multiple times or after
| |