Package rx.internal.operators
Class OperatorTakeWhile<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTakeWhile<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 OperatorTakeWhile<T> extends java.lang.Object implements Observable.Operator<T,T>
O Returns an Observable that emits items emitted by the source Observable as long as a specified condition is true.
-
-
Constructor Summary
Constructors Constructor Description OperatorTakeWhile(Func1<? super T,java.lang.Boolean> underlying)
OperatorTakeWhile(Func2<? super T,? super java.lang.Integer,java.lang.Boolean> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super T> subscriber)
-
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super T> subscriber)
- Specified by:
call
in interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-
-