| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ObservableSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator |
| source | back to summary |
|---|---|
| pack-priv final ObservableSource<T> source | |
| BlockingObservableNext | back to summary |
|---|---|
| public BlockingObservableNext(ObservableSource<T> source) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| Modifier and Type | Field and Description |
|---|---|
| private Throwable | |
| private boolean | |
| private boolean | |
| private final ObservableSource | |
| private T | |
| private final BlockingObservableNext. | |
| 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 ObservableSource<T> items | |
| next | back to summary |
|---|---|
| private T next | |
| observer | back to summary |
|---|---|
| private final BlockingObservableNext. | |
| started | back to summary |
|---|---|
| private boolean started | |
| NextIterator | back to summary |
|---|---|
| pack-priv NextIterator(ObservableSource<T> items, BlockingObservableNext. | |
| 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 | onComplete()
Implements io. Observer that the Observable has finished sending push-based notifications.
|
| public void | |
| public void | onNext(Notification<T>
the item emitted by the Observable args)Implements io. Observer with a new item to observe.
|
| pack-priv void | |
| public Notification |
| buf | back to summary |
|---|---|
| private final BlockingQueue<Notification<T>> buf | |
| waiting | back to summary |
|---|---|
| pack-priv final AtomicInteger waiting | |
| NextObserver | back to summary |
|---|---|
| pack-priv NextObserver() | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Notifies the
The
| |
| onError | back to summary |
|---|---|
public void onError(Throwable e)
| |
| onNext | back to summary |
|---|---|
| public void onNext(Notification<T> args) Implements io. Doc from io. Provides the
The
The
| |
| setWaiting | back to summary |
|---|---|
| pack-priv void setWaiting() | |
| takeNext | back to summary |
|---|---|
| public Notification | |