public abstract class ResultSetEnumeration<T> extends Object implements SkipEnumeration<T>
Enumeration created by filtering a
ResultSet according to an abstract
function applied to each element of the ResultSet.
Implementations must provide mapped(ResultSet).
| Constructor and Description |
|---|
ResultSetEnumeration(ResultSet resultSet)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement()
Return the next element.
|
void |
skip()
Skip an Element.
|
public ResultSetEnumeration(ResultSet resultSet)
resultSet - the ResultSet propertypublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>Enumeration.hasMoreElements()public T nextElement() throws NoSuchElementException
NOTE A RowDisappearedPoemException might be thrown
but does not prevent subsequent use of the object.
nextElement in interface Enumeration<T>NoSuchElementExceptionEnumeration.nextElement()public void skip()
throws NoSuchElementException
skip in interface SkipEnumeration<T>NoSuchElementException - if there are no more ElementsSkipEnumeration.skip()Copyright © 2000–2021 PanEris. All rights reserved.