Class ProgressBarWrappedIterator<T>

java.lang.Object
com.auto.framework.runner.console.progressbar.wrapped.ProgressBarWrappedIterator<T>
All Implemented Interfaces:
java.lang.AutoCloseable, java.util.Iterator<T>

public class ProgressBarWrappedIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>, java.lang.AutoCloseable
  • Constructor Summary

    Constructors 
    Constructor Description
    ProgressBarWrappedIterator​(java.util.Iterator<T> underlying, ProgressBar pb)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    ProgressBar getProgressBar()  
    boolean hasNext()  
    T next()  
    void remove()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining
  • Constructor Details

  • Method Details

    • getProgressBar

      public ProgressBar getProgressBar()
    • hasNext

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

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

      public void remove()
      Specified by:
      remove in interface java.util.Iterator<T>
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable