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 voidclose()ProgressBargetProgressBar()booleanhasNext()Tnext()voidremove()
-
Constructor Details
-
Method Details
-
getProgressBar
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
next
- Specified by:
nextin interfacejava.util.Iterator<T>
-
remove
public void remove()- Specified by:
removein interfacejava.util.Iterator<T>
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable
-