Stream and emits its values.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final Maybe |
| Access | Constructor and Description |
|---|---|
| public | MaybeFlattenStreamAsObservable(Maybe<T> source, Function<? super T, ? extends Stream<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Stream<? extends R>> mapper | |
| source | back to summary |
|---|---|
| pack-priv final Maybe<T> source | |
| MaybeFlattenStreamAsObservable | back to summary |
|---|---|
| public MaybeFlattenStreamAsObservable(Maybe<T> source, Function<? super T, ? extends Stream<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(@NonNull Observer<? super R> s)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv AutoCloseable | |
| pack-priv volatile boolean | |
| pack-priv final Observer | |
| pack-priv volatile Iterator | |
| pack-priv final Function | |
| pack-priv boolean | |
| pack-priv boolean | |
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | FlattenStreamMultiObserver(Observer<? super R> downstream, Function<? super T, ? extends Stream<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements io. |
| pack-priv void | |
| public void | dispose()
Implements io. |
| pack-priv void | |
| public boolean | isDisposed()
Implements io. |
| public boolean | isEmpty()
Implements io. |
| public void | onComplete()
Implements io. |
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the t)MaybeImplements io. MaybeObserver with one item and that the Maybe has finished sending
push-based notifications.
|
| public R | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| close | back to summary |
|---|---|
| pack-priv AutoCloseable close | |
| disposed | back to summary |
|---|---|
| pack-priv volatile boolean disposed | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super R> downstream | |
| iterator | back to summary |
|---|---|
| pack-priv volatile Iterator<? extends R> iterator | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Stream<? extends R>> mapper | |
| once | back to summary |
|---|---|
| pack-priv boolean once | |
| 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 | |
| FlattenStreamMultiObserver | back to summary |
|---|---|
| pack-priv FlattenStreamMultiObserver(Observer<? super R> downstream, Function<? super T, ? extends Stream<? extends R>> mapper) | |
| clear | back to summary |
|---|---|
| public void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| close | back to summary |
|---|---|
| pack-priv void close(AutoCloseable c) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| 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
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
public void onError(@NonNull Throwable e)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(@NonNull Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T t) Implements io. Doc from io. Notifies 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
| |