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