RxJava



rx.operators
Class OperationFilter<T>

java.lang.Object
  extended by rx.operators.OperationFilter<T>

public final class OperationFilter<T>
extends java.lang.Object

Filters an Observable by discarding any items it emits that do not meet some test.


Constructor Summary
OperationFilter()
           
 
Method Summary
static
<T> Observable.OnSubscribeFunc<T>
filter(Observable<? extends T> that, Func1<? super T,java.lang.Boolean> predicate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationFilter

public OperationFilter()
Method Detail

filter

public static <T> Observable.OnSubscribeFunc<T> filter(Observable<? extends T> that,
                                                       Func1<? super T,java.lang.Boolean> predicate)