Class SortedTextFile.CachedStringIterator
java.lang.Object
org.archive.util.binsearch.SortedTextFile.CachedStringIterator
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<String>,CloseableIterator<String>
- Enclosing class:
SortedTextFile
public static class SortedTextFile.CachedStringIterator
extends Object
implements CloseableIterator<String>
-
Constructor Summary
ConstructorsConstructorDescriptionCachedStringIterator(String first, String second) CachedStringIterator(SeekableLineReader slr, String first, String second) -
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
-
Constructor Details
-
CachedStringIterator
-
CachedStringIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-