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

All Superinterfaces:
Iterable<T>
All Known Subinterfaces:
Dao<T,ID>, GenericRawResults<T>, RawResults
All Known Implementing Classes:
BaseDaoImpl, 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> iterator()
          Returns an iterator over a set of elements of type T.
 

Method Detail

iterator

CloseableIterator<T> iterator()
Returns an iterator over a set of elements of type T.

Specified by:
iterator in interface Iterable<T>
Returns:
an CloseableIterator.


Copyright © 2011. All Rights Reserved.