it.unimi.di.mg4j.io
Class IOFactories.FileLinesIterable.FileLinesIterator
java.lang.Object
it.unimi.dsi.fastutil.objects.AbstractObjectIterator<MutableString>
it.unimi.di.mg4j.io.IOFactories.FileLinesIterable.FileLinesIterator
- All Implemented Interfaces:
- ObjectIterator<MutableString>, SafelyCloseable, Closeable, Iterator<MutableString>
- Enclosing class:
- IOFactories.FileLinesIterable
public static final class IOFactories.FileLinesIterable.FileLinesIterator
- extends AbstractObjectIterator<MutableString>
- implements SafelyCloseable
IOFactories.FileLinesIterable.FileLinesIterator
public IOFactories.FileLinesIterable.FileLinesIterator(IOFactory ioFactory,
String filename,
String encoding)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<MutableString>
next
public MutableString next()
- Specified by:
next
in interface Iterator<MutableString>
close
public void close()
- Specified by:
close
in interface Closeable
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable