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() |
java.lang.String |
toString() |
hasNext, isIterating, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpeekpublic 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.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object