public final class BlockingOperatorMostRecent
extends java.lang.Object

| Constructor and Description |
|---|
BlockingOperatorMostRecent() |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Iterable<T> |
mostRecent(Observable<? extends T> source,
T initialValue)
Returns an
Iterable that always returns the item most recently emitted by the Observable. |
public static <T> java.lang.Iterable<T> mostRecent(Observable<? extends T> source, T initialValue)
Iterable that always returns the item most recently emitted by the Observable.source - the source ObservableinitialValue - a default item to return from the Iterable if source has not yet emitted any
itemsIterable that always returns the item most recently emitted by source, or
initialValue if source has not yet emitted any items