Package it.unimi.di.big.mg4j.io
Class IOFactories.FileLinesIterable.FileLinesIterator
- java.lang.Object
-
- it.unimi.di.big.mg4j.io.IOFactories.FileLinesIterable.FileLinesIterator
-
- All Implemented Interfaces:
ObjectIterator<MutableString>
,SafelyCloseable
,Closeable
,AutoCloseable
,Iterator<MutableString>
- Enclosing class:
- IOFactories.FileLinesIterable
public static final class IOFactories.FileLinesIterable.FileLinesIterator extends Object implements ObjectIterator<MutableString>, SafelyCloseable
-
-
Constructor Summary
Constructors Constructor Description FileLinesIterator(IOFactory ioFactory, String filename, String encoding)
-
Method Summary
Modifier and Type Method Description void
close()
protected void
finalize()
boolean
hasNext()
MutableString
next()
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator
skip
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<MutableString>
-
next
public MutableString next()
- Specified by:
next
in interfaceIterator<MutableString>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-