Package com.mysema.commons.lang
Interface CloseableIterator<T>
- All Superinterfaces:
AutoCloseable
,Closeable
,Iterator<T>
- All Known Implementing Classes:
EmptyCloseableIterator
,IteratorAdapter
Iterator with Closeable
- Version:
- $Id$
-
Method Details
-
close
void close()Closes this iterator and releases any system resources associated with it. If the iterator is already closed then invoking this method has no effect.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-