| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the type of source. T> Iterator | Returns: the iterator that could be used to iterate over the elements of the observable.the source Observable source)Returns an iterator that iterates all values of the observable. |
| BlockingOperatorToIterator | back to summary |
|---|---|
| private BlockingOperatorToIterator() | |
| toIterator | back to summary |
|---|---|
| public static <T> Iterator Returns an iterator that iterates all values of the observable.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Notification | |
| pack-priv static final int | |
| private final BlockingQueue | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public T | |
| 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. |
| public void | onStart()
Overrides rx. |
| public void | remove()
Overrides default java. |
| private Notification |
| buf | back to summary |
|---|---|
| private Notification<? extends T> buf | |
| LIMIT | back to summary |
|---|---|
| pack-priv static final int LIMIT | |
| notifications | back to summary |
|---|---|
| private final BlockingQueue<Notification<? extends T>> notifications | |
| received | back to summary |
|---|---|
| private int received | |
| SubscriberIterator | back to summary |
|---|---|
| public SubscriberIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| 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
| |
| onStart | back to summary |
|---|---|
| public void onStart() Overrides rx. Doc from rx. This method is invoked when the Subscriber and Observable have been connected but the Observable has not yet begun to emit items or send notifications to the Subscriber. Override this method to add any useful initialization to your subscription, for instance to initiate backpressure.
| |
| 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
| |
| take | back to summary |
|---|---|
| private Notification | |