Package rx.internal.operators
Class OperatorTimestamp<T>
- java.lang.Object
-
- rx.internal.operators.OperatorTimestamp<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Func1<Subscriber<? super Timestamped<T>>,Subscriber<? super T>>
,Function
,Observable.Operator<Timestamped<T>,T>
public final class OperatorTimestamp<T> extends java.lang.Object implements Observable.Operator<Timestamped<T>,T>
-
-
Constructor Summary
Constructors Constructor Description OperatorTimestamp(Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super Timestamped<T>> o)
-
-
-
Field Detail
-
scheduler
final Scheduler scheduler
-
-
Constructor Detail
-
OperatorTimestamp
public OperatorTimestamp(Scheduler scheduler)
-
-
Method Detail
-
call
public Subscriber<? super T> call(Subscriber<? super Timestamped<T>> o)
- Specified by:
call
in interfaceFunc1<Subscriber<? super Timestamped<T>>,Subscriber<? super T>>
- Returns:
- a sequence of timestamped values created by adding timestamps to each item in the input sequence.
-
-