Class OperatorSkipWhile<T>

java.lang.Object
rx.internal.operators.OperatorSkipWhile<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
Func1<Subscriber<? super T>,Subscriber<? super T>>, Function, Observable.Operator<T,T>

public final class OperatorSkipWhile<T> extends 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.
  • Field Details

  • Constructor Details

  • Method Details

    • 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,Integer,Boolean> toPredicate2(Func1<? super T,Boolean> predicate)
      Convert to Func2 type predicate.
      Type Parameters:
      T - the input value type
      Parameters:
      predicate - the single argument predicate function
      Returns:
      The two argument function which ignores its second parameter