Class OperatorSampleWithObservable<T,U>

java.lang.Object
rx.internal.operators.OperatorSampleWithObservable<T,U>
Type Parameters:
T - the source and result value type
U - the element type of the sampler Observable
All Implemented Interfaces:
Func1<Subscriber<? super T>,Subscriber<? super T>>, Function, Observable.Operator<T,T>

public final class OperatorSampleWithObservable<T,U> extends Object implements Observable.Operator<T,T>
Sample with the help of another observable.
See Also:
  • Field Details

    • sampler

      final Observable<U> sampler
    • EMPTY_TOKEN

      static final Object EMPTY_TOKEN
      Indicates that no value is available.
  • Constructor Details

    • OperatorSampleWithObservable

      public OperatorSampleWithObservable(Observable<U> sampler)
  • Method Details