View Interface
- public interface View
A View
is a window onto a large result set. It has
a size (the number of items in the view), a beginning index (the
index of the first item in the view), and an ending index (the
index of the last item in the view). Additionally, a View
has an index within the context of a ViewIterator
.
Related Topics
ViewIterator
-
All Known Implementing Classes
-
CatalogItemView
public int |
-
getFirstIndex ()
- Returns the index of the first item in the view.
|
public int |
-
getLastIndex ()
- Returns the index of the last item in the view.
|
public int |
-
getSize ()
- Returns the number of items in the view.
|
public int |
-
getViewIndex ()
- Returns the index of this
View within its ViewIterator .
|
getFirstIndex() Method
public int getFirstIndex()
Returns the index of the first item in the view.
Returns
- The index of the first item in the view.
getLastIndex() Method
public int getLastIndex()
Returns the index of the last item in the view.
Returns
- The index of the last item in the view.
getSize() Method
public int getSize()
Returns the number of items in the view.
Returns
- The number of items in the view.
getViewIndex() Method
public int getViewIndex()
Returns the index of this View
within its ViewIterator
.
Returns
- The index of this
View
within its ViewIterator
.