Package htsjdk.tribble.readers
Class LineIteratorImpl
- All Implemented Interfaces:
LineIterator,Closeable,AutoCloseable,Iterator<String>
A simple iterator over the elements in LineReader.
-
Field Summary
Fields inherited from class htsjdk.samtools.util.AbstractIterator
next -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class htsjdk.samtools.util.AbstractIterator
hasNext, isIterating, next, peek, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface htsjdk.tribble.readers.LineIterator
peek
-
Constructor Details
-
LineIteratorImpl
- Parameters:
lineReader- The line reader whose elements are to be iterated over.
-
-
Method Details
-
advance
- Specified by:
advancein classAbstractIterator<String>- Returns:
- the next element or null if the iterator is at the end
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
toString
-