ResultSetIterator

public class ResultSetIterator implements Iterator<IdVersionAclTriplet>

A class for iterating over ResultSet

ResultSet only provides a next function which moves the cursor. The behavior is here mapped onto the functions of the Iterator interface. TODO Move this generic function? Check again if an implementation is available from elsewhere.

Constructors

ResultSetIterator

public ResultSetIterator(ResultSet resultset)

Methods

hasNext

public boolean hasNext()

next

public IdVersionAclTriplet next()