com.j256.ormlite.dao.CloseableIterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ormlite-core Show documentation
Show all versions of ormlite-core Show documentation
Lightweight Object Relational Model (ORM) for persisting objects to SQL databases.
package com.j256.ormlite.dao;
/**
* Extension to Iterable to provide a iterator() method that returns a {@link CloseableIterator}.
*
* @author graywatson
*/
public interface CloseableIterable extends Iterable {
/**
* Returns an iterator over a set of elements of type T which can be closed.
*/
public CloseableIterator closeableIterator();
}