Package rx.internal.operators
Class OperatorTakeLast<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTakeLast<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 OperatorTakeLast<T> extends java.lang.Object implements Observable.Operator<T,T>
Returns an Observable that emits the at most the lastcount
items emitted by the source Observable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OperatorTakeLast.TakeLastSubscriber<T>
-
Field Summary
Fields Modifier and Type Field Description (package private) int
count
-
Constructor Summary
Constructors Constructor Description OperatorTakeLast(int count)
-
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>>
-
-