org.nsdl.mptstore.core
Interface ClosableIterator<E>

Type Parameters:
E - the type of object to be iterated.
All Superinterfaces:
java.util.Iterator<E>
All Known Subinterfaces:
QueryResults
All Known Implementing Classes:
SQLUnionQueryResults

public interface ClosableIterator<E>
extends java.util.Iterator<E>

An Iterator that should be closed when finished.

Author:
cwilper@cs.cornell.edu

Method Summary
 void close()
          Release any resources tied up by this iterator.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

close

void close()
Release any resources tied up by this iterator.