|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.util.PagedEnumerationBase
org.melati.util.DumbPagedEnumeration
public class DumbPagedEnumeration
A PagedEnumeration which doesn't know how big it is.
Ideally SQL would allow you to start at an offset.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.melati.util.PagedEnumerationBase |
|---|
PagedEnumerationBase.Page |
| Constructor Summary | |
|---|---|
DumbPagedEnumeration(java.util.Enumeration base,
int pageStart,
int pageSize,
int countHorizon)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getNextPageStart()
|
boolean |
getTotalCountIsMinimum()
|
| Methods inherited from class org.melati.util.PagedEnumerationBase |
|---|
getCurrentPosition, getNextPosition, getPageEnd, getPages, getPageSize, getPageStart, getPrevPageStart, getTotalCount, hasMoreElements, nextElement, nextElementOnThisPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DumbPagedEnumeration(java.util.Enumeration base,
int pageStart,
int pageSize,
int countHorizon)
base - underlying EnumerationpageStart - index of start of pagepageSize - how many Elements to include upon a pagecountHorizon - where to count to, may be less than total size of underlying Enumeration| Method Detail |
|---|
public java.lang.Integer getNextPageStart()
PagedEnumerationBasepublic boolean getTotalCountIsMinimum()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||