@Test public final void testPrevPage() { target.nextPage(); target.nextPage(); target.nextPage(); List<Integer> page = target.prevPage(); assertEquals(10, page.size()); assertEquals(Integer.valueOf(13), page.get(3 - 1)); }
public List<T> prevPage() { if (currentPage > 0) { --currentPage; } return subList(); }
ValueListHandler { public List<T> prevPage() { if (currentPage > 0) { --currentPage; } return subList(); } }
ValueListHandler { public List<T> prevPage() { if (currentPage > 0) { --currentPage; } return subList(); } ValueListHandler();  ValueListHandler(List<T> oldList); }
ValueListHandler { public List<T> prevPage() { if (currentPage > 0) { --currentPage; } return subList(); } ValueListHandler();  ValueListHandler(List<T> oldList); List<T> nextPage(); List<T> prevPage(); int getPageSize(); void setPageSize(int pageSize); int getListSize(); }
ValueListHandler { public List<T> prevPage() { if (currentPage > 0) { --currentPage; } return subList(); } ValueListHandler();  ValueListHandler(List<T> oldList); List<T> nextPage(); List<T> prevPage(); int getPageSize(); void setPageSize(int pageSize); int getListSize();  }