|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ViewIterator
is an iterator over large result sets that are
broken into a series of View
s.
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. |
java.lang.Object |
next()
Returns the next element in the iteration. |
int |
size()
Returns the number of objects over which the iterator spans. |
Method Detail |
public int size()
public boolean hasNext()
true
if the iterator has more elements.
true
if the iterator has more elements.public java.lang.Object next() throws java.util.NoSuchElementException, java.rmi.RemoteException
public int getViewCount()
public View getCurrentView()
public View getViewAt(int index) throws java.lang.IndexOutOfBoundsException
index
- The index of the desired view.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 void gotoNextView() throws NoSuchViewException
public void gotoPreviousView() throws NoSuchViewException
public void gotoViewAt(int index) throws NoSuchViewException
index
- The index of the desired view.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |