Class OperatorDebounceWithTime.DebounceState<T>

java.lang.Object
rx.internal.operators.OperatorDebounceWithTime.DebounceState<T>
Type Parameters:
T - the value type
Enclosing class:
OperatorDebounceWithTime<T>

static final class OperatorDebounceWithTime.DebounceState<T> extends Object
Tracks the last value to be emitted and manages completion.
  • Field Details

    • index

      int index
      Guarded by this.
    • value

      T value
      Guarded by this.
    • hasValue

      boolean hasValue
      Guarded by this.
    • terminate

      boolean terminate
      Guarded by this.
    • emitting

      boolean emitting
      Guarded by this.
  • Constructor Details

    • DebounceState

      DebounceState()
  • Method Details

    • next

      public int next(T value)
    • emit

      public void emit(int index, Subscriber<T> onNextAndComplete, Subscriber<?> onError)
    • emitAndComplete

      public void emitAndComplete(Subscriber<T> onNextAndComplete, Subscriber<?> onError)
    • clear

      public void clear()