| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| ObservableFromArray | back to summary |
|---|---|
| public ObservableFromArray(T[] array) | |
| subscribeActual | back to summary |
|---|---|
public void subscribeActual(Observer<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] | |
| pack-priv volatile boolean | |
| pack-priv final Observer | |
| pack-priv boolean | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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 T | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| pack-priv void |
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| disposed | back to summary |
|---|---|
| pack-priv volatile boolean disposed | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super T> downstream | |
| fusionMode | back to summary |
|---|---|
| pack-priv boolean fusionMode | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| FromArrayDisposable | back to summary |
|---|---|
| pack-priv FromArrayDisposable(Observer<? super T> actual, T[] array) | |
| 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
| |
| poll | back to summary |
|---|---|
| public T 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
| |
| run | back to summary |
|---|---|
| pack-priv void run() | |