Class UsageMap.PageCursor
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.UsageMap.PageCursor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterLast()After calling this method,getPreviousPage()will return the last page in the mapvoidbeforeFirst()After calling this method,getNextPage()will return the first page in the mapintgetNextPage()intgetPreviousPage()UsageMapgetUsageMap()booleanisUpToDate()Returnstrueif this cursor is up-to-date with respect to its usage map.voidreset()After calling this method, getNextPage will return the first page in the mapStringtoString()
-
-
-
Method Detail
-
getUsageMap
public UsageMap getUsageMap()
-
isUpToDate
public boolean isUpToDate()
Returnstrueif this cursor is up-to-date with respect to its usage map.
-
getNextPage
public int getNextPage()
- Returns:
- valid page number if there was another page to read,
RowIdImpl.LAST_PAGE_NUMBERotherwise
-
getPreviousPage
public int getPreviousPage()
- Returns:
- valid page number if there was another page to read,
RowIdImpl.FIRST_PAGE_NUMBERotherwise
-
reset
public void reset()
After calling this method, getNextPage will return the first page in the map
-
beforeFirst
public void beforeFirst()
After calling this method,getNextPage()will return the first page in the map
-
afterLast
public void afterLast()
After calling this method,getPreviousPage()will return the last page in the map
-
-