Class LineBufferingIterator
java.lang.Object
org.archive.format.gzip.zipnum.LineBufferingIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<String>,CloseableIterator<String>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLineBufferingIterator(CloseableIterator<String> inner, int maxLines, boolean reverse) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
inner
-
maxLines
protected int maxLines -
reverse
protected boolean reverse -
currIter
-
-
Constructor Details
-
LineBufferingIterator
-
-
Method Details
-
bufferInput
public void bufferInput() -
hasNext
-
next
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
remove
-