RxJava



rx.operators
Class OperationMostRecent

java.lang.Object
  extended by rx.operators.OperationMostRecent

public final class OperationMostRecent
extends java.lang.Object

Returns an Iterable that always returns the item most recently emitted by an Observable, or a seed value if no item has yet been emitted.


Constructor Summary
OperationMostRecent()
           
 
Method Summary
static
<T> java.lang.Iterable<T>
mostRecent(Observable<? extends T> source, T initialValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationMostRecent

public OperationMostRecent()
Method Detail

mostRecent

public static <T> java.lang.Iterable<T> mostRecent(Observable<? extends T> source,
                                                   T initialValue)