Interface CloseableIterator

All Superinterfaces:

public interface CloseableIterator
extends java.util.Iterator

An iterator over a collection. Iterator takes the place of Enumeration in the Java collections framework. Iterators differ from enumerations in two ways:

JSR48 1.0.0

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

Method Detail


public void close()
Closes the Iterator. This allows the undeerlying implementation to do any cleanup and discoonnect from any source that it may be using.

Java™ WBEM (JSR48) 1.0.0 API