RxJava



rx.operators
Class OperatorSkipWhile<T>

java.lang.Object
  extended by rx.operators.OperatorSkipWhile<T>
All Implemented Interfaces:
Func1<Subscriber<? super T>,Subscriber<? super T>>, Function, Observable.Operator<T,T>

public final class OperatorSkipWhile<T>
extends java.lang.Object
implements Observable.Operator<T,T>

Skips any emitted source items as long as the specified condition holds true. Emits all further source items as soon as the condition becomes false.


Constructor Summary
OperatorSkipWhile(Func2<? super T,java.lang.Integer,java.lang.Boolean> predicate)
           
 
Method Summary
 Subscriber<? super T> call(Subscriber<? super T> child)
           
static
<T> Func2<T,java.lang.Integer,java.lang.Boolean>
toPredicate2(Func1<? super T,java.lang.Boolean> predicate)
          Convert to Func2 type predicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorSkipWhile

public OperatorSkipWhile(Func2<? super T,java.lang.Integer,java.lang.Boolean> predicate)
Method Detail

call

public Subscriber<? super T> call(Subscriber<? super T> child)
Specified by:
call in interface Func1<Subscriber<? super T>,Subscriber<? super T>>

toPredicate2

public static <T> Func2<T,java.lang.Integer,java.lang.Boolean> toPredicate2(Func1<? super T,java.lang.Boolean> predicate)
Convert to Func2 type predicate.