Interface ClosableIterator<T>

Type Parameters:
T - The type being iterated over
All Superinterfaces:
All Known Implementing Classes:
ChunkedFileSet.ROCollidedEntriesIterator, ChunkedFileSet.ROEntriesIterator, ChunkedFileSet.ROKeyIterator, DirectoryIterator, PartitionListIterator

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

An iterator that must be closed after use

Method Summary
 void close()
          Close the iterator
Methods inherited from interface java.util.Iterator
hasNext, next, remove

Method Detail


void close()
Close the iterator

Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu