Class BlockingObservableMostRecent.MostRecentObserver.MostRecentIterator

java.lang.Object
io.reactivex.rxjava3.internal.operators.observable.BlockingObservableMostRecent.MostRecentObserver.MostRecentIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
BlockingObservableMostRecent.MostRecentObserver<T>

final class BlockingObservableMostRecent.MostRecentObserver.MostRecentIterator extends Object implements Iterator<T>
  • Field Details

    • buf

      private Object buf
      buffer to make sure that the state of the iterator doesn't change between calling hasNext() and next().
  • Constructor Details

    • MostRecentIterator

      MostRecentIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>