Class BlockingFlowableMostRecent.MostRecentSubscriber.Iterator

java.lang.Object
io.reactivex.rxjava3.internal.operators.flowable.BlockingFlowableMostRecent.MostRecentSubscriber.Iterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
BlockingFlowableMostRecent.MostRecentSubscriber<T>

final class BlockingFlowableMostRecent.MostRecentSubscriber.Iterator 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

    • Iterator

      Iterator()
  • 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>