com.ibatis.common.util
public class PaginatedArrayList extends Object implements PaginatedList
Deprecated: All paginated list features have been deprecated
Implementation of PaginatedList backed by an ArrayList| Constructor Summary | |
|---|---|
| PaginatedArrayList(int pageSize) | |
| PaginatedArrayList(int initialCapacity, int pageSize)
Constructor to set the initial size and the page size | |
| PaginatedArrayList(Collection c, int pageSize)
Constructor to create an instance using an existing collection | |
| Method Summary | |
|---|---|
| boolean | add(Object o) |
| void | add(int index, Object element) |
| boolean | addAll(Collection c) |
| boolean | addAll(int index, Collection c) |
| void | clear() |
| boolean | contains(Object o) |
| boolean | containsAll(Collection c) |
| Object | get(int index) |
| int | getPageIndex() |
| int | getPageSize() |
| void | gotoPage(int pageNumber) |
| int | indexOf(Object o) |
| boolean | isEmpty() |
| boolean | isFirstPage() |
| boolean | isLastPage() |
| boolean | isMiddlePage() |
| boolean | isNextPageAvailable() |
| boolean | isPreviousPageAvailable() |
| Iterator | iterator() |
| int | lastIndexOf(Object o) |
| ListIterator | listIterator() |
| ListIterator | listIterator(int index) |
| boolean | nextPage() |
| boolean | previousPage() |
| boolean | remove(Object o) |
| Object | remove(int index) |
| boolean | removeAll(Collection c) |
| boolean | retainAll(Collection c) |
| Object | set(int index, Object element) |
| int | size() |
| List | subList(int fromIndex, int toIndex) |
| Object[] | toArray() |
| Object[] | toArray(Object[] a) |
Parameters: pageSize
Parameters: initialCapacity - the initial size pageSize - the page size
Parameters: c - the collection to build the instance with pageSize - the page size