it.unimi.di.mg4j.io
Class IOFactories.FileLinesIterable.FileLinesIterator

java.lang.Object
  extended by it.unimi.dsi.fastutil.objects.AbstractObjectIterator<MutableString>
      extended by 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


Constructor Summary
IOFactories.FileLinesIterable.FileLinesIterator(IOFactory ioFactory, String filename, String encoding)
           
 
Method Summary
 void close()
           
protected  void finalize()
           
 boolean hasNext()
           
 MutableString next()
           
 
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectIterator
remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOFactories.FileLinesIterable.FileLinesIterator

public IOFactories.FileLinesIterable.FileLinesIterator(IOFactory ioFactory,
                                                       String filename,
                                                       String encoding)
Method Detail

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