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>
O
Returns an Observable that emits items emitted by the source Observable as long as a specified
condition is true.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOperatorTakeWhile
(Func1<? super T, Boolean> underlying) OperatorTakeWhile
(Func2<? super T, ? super Integer, Boolean> predicate) -
Method Summary
-
Field Details
-
predicate
-
-
Constructor Details
-
OperatorTakeWhile
-
OperatorTakeWhile
-
-
Method Details
-
call
- Specified by:
call
in interfaceFunc1<Subscriber<? super T>,
Subscriber<? super T>>
-