Class FileLinesList.FileLinesIterator

java.lang.Object
it.unimi.dsi.sux4j.io.FileLinesList.FileLinesIterator
All Implemented Interfaces:
BidirectionalIterator<MutableString>, ObjectBidirectionalIterator<MutableString>, ObjectIterator<MutableString>, ObjectListIterator<MutableString>, SafelyCloseable, Closeable, AutoCloseable, Iterator<MutableString>, ListIterator<MutableString>
Enclosing class:
FileLinesList

public static final class FileLinesList.FileLinesIterator extends Object implements ObjectListIterator<MutableString>, SafelyCloseable
An iterator over the lines of a FileLinesList. Instances of this class open an InputStream, and thus should be closed after usage. A “safety-net” finaliser tries to take care of the cases in which closing an instance is impossible.