Package org.ujmp.jdbc.util
Class JDBCKeyIterator<K>
- java.lang.Object
-
- org.ujmp.jdbc.util.JDBCKeyIterator<K>
-
- All Implemented Interfaces:
java.util.Iterator<K>
public class JDBCKeyIterator<K> extends java.lang.Object implements java.util.Iterator<K>
-
-
Field Summary
Fields Modifier and Type Field Description private K
currentKey
private java.lang.Class<?>
keyClass
private java.sql.ResultSet
rs
-
Constructor Summary
Constructors Constructor Description JDBCKeyIterator(java.sql.ResultSet rs, java.lang.Class<?> keyClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
K
next()
void
remove()
-
-
-
Field Detail
-
rs
private final java.sql.ResultSet rs
-
keyClass
private final java.lang.Class<?> keyClass
-
currentKey
private K currentKey
-
-