@Test public final void testOverflow() { target.nextPage(); target.nextPage(); target.nextPage(); target.nextPage(); target.nextPage(); target.nextPage(); target.nextPage(); target.nextPage(); }
public List<T> nextPage() { if (currentPage < (list.size() / pageSize)) { ++currentPage; } return subList(); }
ValueListHandler { public List<T> nextPage() { if (currentPage < (list.size() / pageSize)) { ++currentPage; } return subList(); } }
ValueListHandler { public List<T> nextPage() { if (currentPage < (list.size() / pageSize)) { ++currentPage; } return subList(); } ValueListHandler();  ValueListHandler(List<T> oldList); }
ValueListHandler { public List<T> nextPage() { if (currentPage < (list.size() / pageSize)) { ++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> nextPage() { if (currentPage < (list.size() / pageSize)) { ++currentPage; } return subList(); } ValueListHandler();  ValueListHandler(List<T> oldList); List<T> nextPage(); List<T> prevPage(); int getPageSize(); void setPageSize(int pageSize); int getListSize();  }