| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final SingleSource |
| Access | Constructor and Description |
|---|---|
| public | SingleFlatMapIterableObservable(SingleSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Iterable<? extends R>> mapper | |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<T> source | |
| SingleFlatMapIterableObservable | back to summary |
|---|---|
| public SingleFlatMapIterableObservable(SingleSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Observer<? super R> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv final Observer | |
| pack-priv volatile Iterator | |
| pack-priv final Function | |
| pack-priv boolean | |
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | FlatMapIterableObserver(Observer<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements io. |
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public boolean | isEmpty()
Implements io. |
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the value)SingleImplements io. SingleObserver with a single item and that the Single has finished sending
push-based notifications.
|
| public R | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super R> downstream | |
| it | back to summary |
|---|---|
| pack-priv volatile Iterator<? extends R> it | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Iterable<? extends R>> mapper | |
| outputFused | back to summary |
|---|---|
| pack-priv boolean outputFused | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| FlatMapIterableObserver | back to summary |
|---|---|
| pack-priv FlatMapIterableObserver(Observer<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| clear | back to summary |
|---|---|
| public void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| 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.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements io. Doc from io. Returns true if the queue is empty.
Note however that due to potential fused functions in
| |
| onError | back to summary |
|---|---|
public void onError(Throwable e)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the
The
| |
| poll | back to summary |
|---|---|
| public R poll() 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
| |