Package rx.internal.operators
Class OperatorTakeUntilPredicate<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTakeUntilPredicate<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 OperatorTakeUntilPredicate<T> extends java.lang.Object implements Observable.Operator<T,T>
Returns an Observable that emits items emitted by the source Observable until the provided predicate returns false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
OperatorTakeUntilPredicate.ParentSubscriber
Subscriber returned to the upstream.
-
Field Summary
Fields Modifier and Type Field Description (package private) Func1<? super T,java.lang.Boolean>
stopPredicate
-
Constructor Summary
Constructors Constructor Description OperatorTakeUntilPredicate(Func1<? super T,java.lang.Boolean> stopPredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super T> child)
-
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super T> child)
- Specified by:
call
in interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-
-