| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T | |
| pack-priv final ObservableSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator |
| initialValue | back to summary |
|---|---|
| pack-priv final T initialValue | |
| source | back to summary |
|---|---|
| pack-priv final ObservableSource<T> source | |
| BlockingObservableMostRecent | back to summary |
|---|---|
| public BlockingObservableMostRecent(ObservableSource<T> source, T initialValue) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BlockingObservableMostRecent. | |
| public void | onComplete()
Implements io. Observer that the Observable has finished sending push-based notifications.
|
| public void | |
| public void | onNext(T
the item emitted by the Observable args)Implements io. Observer with a new item to observe.
|
| value | back to summary |
|---|---|
| pack-priv volatile Object value | |
| MostRecentObserver | back to summary |
|---|---|
| pack-priv MostRecentObserver(T value) | |
| getIterable | back to summary |
|---|---|
| public BlockingObservableMostRecent. The
| |
| 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(T args) Implements io. Doc from io. Provides the
The
The
| |
| Modifier and Type | Field and Description |
|---|---|
| private Object | buf
buffer to make sure that the state of the iterator doesn't change between calling hasNext() and next(). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public T | |
| public void | remove()
Overrides default java. |
| buf | back to summary |
|---|---|
| private Object buf buffer to make sure that the state of the iterator doesn't change between calling hasNext() and next(). | |
| MostRecentIterator | back to summary |
|---|---|
| pack-priv MostRecentIterator() | |
| 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.
| |
| 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
| |