|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.operators.OperatorTake<T>
public final class OperatorTake<T>
Returns an Observable that emits the first num items emitted by the source
Observable.
You can choose to pay attention only to the first num items emitted by an
Observable by using the take operation. This operation returns an Observable that will invoke a
subscribing Observer's onNext function a maximum of num times before
invoking onCompleted.
| Constructor Summary | |
|---|---|
OperatorTake(int limit)
|
|
| Method Summary | |
|---|---|
Subscriber<? super T> |
call(Subscriber<? super T> child)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperatorTake(int limit)
| Method Detail |
|---|
public Subscriber<? super T> call(Subscriber<? super T> child)
call in interface Func1<Subscriber<? super T>,Subscriber<? super T>>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||