Package rx.internal.operators
Class OperatorTakeTimed<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTakeTimed<T>
-
- Type Parameters:
T
- the result value type
- All Implemented Interfaces:
Func1<Subscriber<? super T>,Subscriber<? super T>>
,Function
,Observable.Operator<T,T>
public final class OperatorTakeTimed<T> extends java.lang.Object implements Observable.Operator<T,T>
Takes values from the source until the specific time elapses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OperatorTakeTimed.TakeSubscriber<T>
Subscribed to source and scheduled on a worker.
-
Constructor Summary
Constructors Constructor Description OperatorTakeTimed(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> child)
-
-
-
Field Detail
-
time
final long time
-
unit
final java.util.concurrent.TimeUnit unit
-
scheduler
final Scheduler scheduler
-
-
Constructor Detail
-
OperatorTakeTimed
public OperatorTakeTimed(long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super T> child)
- Specified by:
call
in interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-
-