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