Package org.sql2o

Class PojoResultSetIterator<T>

java.lang.Object
org.sql2o.ResultSetIteratorBase<T>
org.sql2o.PojoResultSetIterator<T>
Type Parameters:
T - the type of the objects that this iterator will return
All Implemented Interfaces:
Iterator<T>

public class PojoResultSetIterator<T> extends ResultSetIteratorBase<T>
Iterator for a ResultSet. Tricky part here is getting ResultSetIteratorBase.hasNext() to work properly, meaning it can be called multiple times without calling ResultSetIteratorBase.next().
Author:
aldenquimby@gmail.com