Package nxt.db
Class DbIterator<T>
- java.lang.Object
-
- nxt.db.DbIterator<T>
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<T>
,java.util.Iterator<T>
public final class DbIterator<T> extends java.lang.Object implements java.util.Iterator<T>, java.lang.Iterable<T>, java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DbIterator.ResultSetReader<T>
-
Constructor Summary
Constructors Constructor Description DbIterator(java.sql.Connection con, java.sql.PreparedStatement pstmt, DbIterator.ResultSetReader<T> rsReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
java.util.Iterator<T>
iterator()
T
next()
void
remove()
-
-
-
Constructor Detail
-
DbIterator
public DbIterator(java.sql.Connection con, java.sql.PreparedStatement pstmt, DbIterator.ResultSetReader<T> rsReader)
-
-