| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the value type T> Iterable | Returns: anIterable that behaves like a blocking version of itemsthe items)Observable to observeReturns an |
| BlockingOperatorNext | back to summary |
|---|---|
| private BlockingOperatorNext() | |
| next | back to summary |
|---|---|
| public static <T> Iterable Returns an
| |
| Modifier and Type | Field and Description |
|---|---|
| private Throwable | |
| private boolean | |
| private boolean | |
| private final Observable | |
| private T | |
| private final BlockingOperatorNext. | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private boolean | |
| public T | |
| public void | remove()
Overrides default java. |
| error | back to summary |
|---|---|
| private Throwable error | |
| hasNext | back to summary |
|---|---|
| private boolean hasNext | |
| isNextConsumed | back to summary |
|---|---|
| private boolean isNextConsumed | |
| items | back to summary |
|---|---|
| private final Observable<? extends T> items | |
| next | back to summary |
|---|---|
| private T next | |
| observer | back to summary |
|---|---|
| private final BlockingOperatorNext. | |
| started | back to summary |
|---|---|
| private boolean started | |
| NextIterator | back to summary |
|---|---|
| pack-priv NextIterator(Observable<? extends T> items, BlockingOperatorNext. | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| moveToNext | back to summary |
|---|---|
private boolean moveToNext()
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BlockingQueue | |
| pack-priv final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(Notification<? extends T>
the item emitted by the Observable args)Implements rx. |
| pack-priv void | |
| public Notification |
| buf | back to summary |
|---|---|
| private final BlockingQueue<Notification<? extends T>> buf | |
| waiting | back to summary |
|---|---|
| pack-priv final AtomicInteger waiting | |
| NextObserver | back to summary |
|---|---|
| pack-priv NextObserver() | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(Notification<? extends T> args) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| setWaiting | back to summary |
|---|---|
| pack-priv void setWaiting(int value) | |
| takeNext | back to summary |
|---|---|
| public Notification | |