|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.roarsoftware.lastfm.PaginatedResult<T>
public class PaginatedResult<T>
A PaginatedResult
is returned by methods which result set might be so large that it needs
to be paginated. Each PaginatedResult
contains the total number of result pages, the current
page and a Collection
of entries for the current page.
Method Summary | |
---|---|
int |
getPage()
Returns the page number of this result. |
java.util.Collection<T> |
getPageResults()
Returns a list of entries of the type T for this page. |
int |
getTotalPages()
Returns the total number of pages available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPage()
public java.util.Collection<T> getPageResults()
T
for this page.
public int getTotalPages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |