public class LineIteratorImpl extends AbstractIterator<String> implements LineIterator, Closeable
next| Constructor and Description |
|---|
LineIteratorImpl(LineReader lineReader) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
advance() |
void |
close() |
hasNext, isIterating, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpeekforEachRemaining, hasNext, next, removepublic LineIteratorImpl(LineReader lineReader)
lineReader - The line reader whose elements are to be iterated over.protected String advance()
advance in class AbstractIterator<String>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException