Package rx.internal.operators
Class OperatorTakeLastTimed<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTakeLastTimed<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 OperatorTakeLastTimed<T> extends java.lang.Object implements Observable.Operator<T,T>
Returns an Observable that emits the lastcount
items emitted by the source Observable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OperatorTakeLastTimed.TakeLastTimedSubscriber<T>
-
Constructor Summary
Constructors Constructor Description OperatorTakeLastTimed(int count, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
OperatorTakeLastTimed(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super T> subscriber)
-
-
-
Field Detail
-
ageMillis
final long ageMillis
-
scheduler
final Scheduler scheduler
-
count
final int count
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super T> subscriber)
- Specified by:
call
in interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-
-