Package nxt.db
Class DbIterator<T>
java.lang.Object
nxt.db.DbIterator<T>
- All Implemented Interfaces:
AutoCloseable,Iterable<T>,Iterator<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDbIterator(Connection con, PreparedStatement pstmt, DbIterator.ResultSetReader<T> rsReader) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DbIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
iterator
-
stream
-