it.unimi.dsi.io
Class OfflineIterable.OfflineIterator<A,B extends A>

java.lang.Object
  extended by it.unimi.dsi.fastutil.objects.AbstractObjectIterator<B>
      extended by it.unimi.dsi.io.OfflineIterable.OfflineIterator<A,B>
All Implemented Interfaces:
ObjectIterator<B>, SafelyCloseable, Closeable, Iterator<B>
Enclosing class:
OfflineIterable<T,U extends T>

public static final class OfflineIterable.OfflineIterator<A,B extends A>
extends AbstractObjectIterator<B>
implements SafelyCloseable

An iterator returned by an OfflineIterable.


Method Summary
 void close()
           
protected  void finalize()
           
 boolean hasNext()
           
 B 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
 

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<B extends A>

next

public B next()
Specified by:
next in interface Iterator<B extends A>

close

public void close()
Specified by:
close in interface Closeable

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable