|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A ViewIterator is an iterator over large result sets that are
broken into a series of Views.
View| Method Summary | |
View |
getCurrentView()
Returns the current view. |
View |
getViewAt(int index)
Gets the view at the specified index. |
int |
getViewCount()
Returns the number of views spanned by this iterator. |
void |
gotoNextView()
Moves the iterator to the next view. |
void |
gotoPreviousView()
Moves the iterator to the previous view. |
void |
gotoViewAt(int index)
Moves the iterator to the view at the specified index. |
boolean |
hasNext()
Returns true if the iterator has more elements. |
boolean |
hasNextView()
Returns true if the iterator has a next view. |
boolean |
hasPreviousView()
Returns true if the iterator has a previous view. |
Object |
next()
Returns the next element in the iteration. |
int |
size()
Returns the number of objects over which the iterator spans. |
| Method Detail |
public View getCurrentView()
public View getViewAt(int index)
throws IndexOutOfBoundsException
index - The index of the desired view.
IndexOutOfBoundsException - if the index is invalid.public int getViewCount()
public void gotoNextView()
throws NoSuchViewException
NoSuchViewException - if the iterator does not have a next view.
public void gotoPreviousView()
throws NoSuchViewException
NoSuchViewException - if the iterator does not have a previous view.
public void gotoViewAt(int index)
throws NoSuchViewException
index - The index of the desired view.
NoSuchViewException - if the index is invalid.public boolean hasNext()
true if the iterator has more elements.
true if the iterator has more elements.public boolean hasNextView()
true if the iterator has a next view.
true if the iterator has a next view.public boolean hasPreviousView()
true if the iterator has a previous view.
true if the iterator has a previous view.
public Object next()
throws NoSuchElementException,
RemoteException
RemoteException - on remote error.
NoSuchElementException - if the iteration has no more elements.public int size()
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||