Webwarp Util Collection

General

This project implements only a paged list. Paged list behave almost the same as normal lists beside the fact that most operations are targeted to the actual page window.
Other items were removed to the development of similar functionality within the JDK.

Class Overview

Example

As an example look at the following code:

PagedList pagedList = new PagedArrayList(5); // Add some objects int i = 0; while (i < 50) { pagedList.add(Integer.valueOf(i++)); } pagedList.setPageSize(10); pagedList.moveToPage(1); Iterator iterator = pagedList.iterator(); while (iterator.hasNext()) { Object item = iterator.next(); [...] } pagedList.moveToPage(3); [...] pagedList.moveToFirstPage(); [...] pagedList.moveToLastPage(); [...]

Webwarp Util