net.sourceforge.pbeans.data
Interface ResultsIterator<T>
- All Superinterfaces:
- java.util.Iterator<T>
public interface ResultsIterator<T>
- extends java.util.Iterator<T>
An extension of java.util.Iterator
for objects obtained from a database connection.
A ResultsIterator
instance should always be closed
in order to release underlying resources.
A ResultsIterator
is closed implicitly
if the number of elements run out, or if it is
garbage collected.
Method Summary |
void |
close()
|
Methods inherited from interface java.util.Iterator |
hasNext, next, remove |
close
void close()