org.jboss.dashboard.commons.collections
Class CursoredList
java.lang.Object
org.jboss.dashboard.commons.collections.CursoredList
- All Implemented Interfaces:
- Serializable
public class CursoredList
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursoredList
public CursoredList(List l)
getList
public List getList()
setList
public void setList(List list)
getPageNumber
public int getPageNumber()
setPageNumber
public void setPageNumber(int pageNumber)
throws ArrayIndexOutOfBoundsException
- Sets current page.
- Parameters:
pageNumber - The page number where cursor must be positioned.
- Throws:
IllegalArgumentException - Igf page number is out of bounds
ArrayIndexOutOfBoundsException
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
getNumberOfPages
public int getNumberOfPages()
getPage
public List getPage()
- Retrieve elements belonging to current cursor page.
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.