Modifier and Type | Method and Description |
---|---|
void |
afterLast()
After calling this method,
getPreviousPage() will return the
last page in the map |
void |
beforeFirst()
After calling this method,
getNextPage() will return the first
page in the map |
int |
getNextPage() |
int |
getPreviousPage() |
UsageMap |
getUsageMap() |
boolean |
isUpToDate()
Returns
true if this cursor is up-to-date with respect to its
usage map. |
void |
reset()
After calling this method, getNextPage will return the first page in
the map
|
protected void |
reset(boolean moveForward)
Resets this page cursor for traversing the given direction.
|
protected void |
restorePosition(int curPageNumber,
int prevPageNumber)
Restores a current and previous position for the cursor.
|
String |
toString() |
public UsageMap getUsageMap()
public boolean isUpToDate()
true
if this cursor is up-to-date with respect to its
usage map.public int getNextPage()
RowIdImpl.LAST_PAGE_NUMBER
otherwisepublic int getPreviousPage()
RowIdImpl.FIRST_PAGE_NUMBER
otherwisepublic void reset()
public void beforeFirst()
getNextPage()
will return the first
page in the mappublic void afterLast()
getPreviousPage()
will return the
last page in the mapprotected void reset(boolean moveForward)
protected void restorePosition(int curPageNumber, int prevPageNumber)
Copyright © 2005–2018. All rights reserved.