com.j256.ormlite.dao
Interface CloseableIterable<T>

All Superinterfaces:
Iterable<T>
All Known Subinterfaces:
CloseableWrappedIterable<T>, Dao<T,ID>, ForeignCollection<T>, GenericRawResults<T>
All Known Implementing Classes:
BaseDaoImpl, BaseForeignCollection, CloseableWrappedIterableImpl, EagerForeignCollection, LazyForeignCollection, RawResultsImpl

public interface CloseableIterable<T>
extends Iterable<T>

Extension to Iterable to provide a iterator() method that returns a CloseableIterator.

Author:
graywatson

Method Summary
 CloseableIterator<T> closeableIterator()
          Returns an iterator over a set of elements of type T which can be closed.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

closeableIterator

CloseableIterator<T> closeableIterator()
Returns an iterator over a set of elements of type T which can be closed.



This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.