Top Description Fields Constructors Methods
rx.internal.operators

public final Class OperatorTakeWhile<T>

extends Object
implements Observable.Operator<T, T>
Class Inheritance
All Implemented Interfaces
rx.Observable.Operator, rx.functions.Func1, rx.functions.Function
Type Parameters
<T>
the value type
Imports
rx.Observable.Operator, .Subscriber, rx.exceptions.Exceptions, rx.functions.*

O Returns an Observable that emits items emitted by the source Observable as long as a specified condition is true.

Field Summary

Modifier and TypeField and Description
pack-priv final Func2<? super T, ? super Integer, Boolean>

Constructor Summary

AccessConstructor and Description
public
OperatorTakeWhile(final Func1<? super T, Boolean> underlying)

public
OperatorTakeWhile(Func2<? super T, ? super Integer, Boolean> predicate)

Method Summary

Modifier and TypeMethod and Description
public Subscriber<? super T>
call(final Subscriber<? super T> subscriber)

Implements rx.functions.Func1.call.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

predicateback to summary
pack-priv final Func2<? super T, ? super Integer, Boolean> predicate

Constructor Detail

OperatorTakeWhileback to summary
public OperatorTakeWhile(final Func1<? super T, Boolean> underlying)
OperatorTakeWhileback to summary
public OperatorTakeWhile(Func2<? super T, ? super Integer, Boolean> predicate)

Method Detail

callback to summary
public Subscriber<? super T> call(final Subscriber<? super T> subscriber)

Implements rx.functions.Func1.call.

Annotations
@Override