com.beasys.commerce.util
Class ResultSetIterator
java.lang.Object
com.beasys.commerce.util.ResultSetIterator
- All Implemented Interfaces
- Iterator
public class ResultSetIterator
- extends Object
- implements Iterator
Implements the java.util.Iterator interface for a JDBC ResultSet.
A more interesting (and useful) interface would implement the java.util.ListIterator interface
Method Summary |
boolean |
hasNext()
|
Object |
next()
Returns the next element in the interation. |
void |
remove()
This operation is unsupported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BELONGING_TYPE
public static final int BELONGING_TYPE
- See Also
- Constants Summary
EJB_PK_TYPE
public static final int EJB_PK_TYPE
- See Also
- Constants Summary
ResultSetIterator
public ResultSetIterator(String resultClassName,
int resultClassType,
Vector fieldMap,
PreparedStatement preparedStatement,
ResultSet resultSet)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Returns the next element in the interation.
- Specified by:
next
in interface Iterator
remove
public void remove()
- This operation is unsupported
- Specified by:
remove
in interface Iterator
Copyright © 2006 BEA Systems, Inc. All Rights Reserved