| 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 | SingleFlatMapIterableFlowable(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 | |
| SingleFlatMapIterableFlowable | back to summary |
|---|---|
| public SingleFlatMapIterableFlowable(SingleSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Subscriber<? super R> s)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv final Subscriber | |
| pack-priv volatile Iterator | |
| pack-priv final Function | |
| pack-priv boolean | |
| pack-priv final AtomicLong | |
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | FlatMapIterableObserver(Subscriber<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| public void | clear()
Implements io. |
| pack-priv void | |
| pack-priv void | |
| 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 void | request(long
the strictly positive number of elements to requests to the upstream n)PublisherImplements org. Publisher until demand is signaled via this method.
|
| public int | requestFusion(int mode)
Implements io. |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? 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 | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested | |
| 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(Subscriber<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| cancel | back to summary |
|---|---|
| public void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| clear | back to summary |
|---|---|
| public void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| fastPath | back to summary |
|---|---|
| pack-priv void fastPath(Subscriber<? super R> a, Iterator<? extends R> iterator) | |
| 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 | |
| request | back to summary |
|---|---|
| public void request(long n) Implements org. Doc from org. No events will be sent by a
It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more,
it may be treated by the
Whatever has been requested can be sent by the
A | |
| 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
| |