code: public static <T> Pair<Integer, List<T>> page(long start, long howMany, Iterator<T> iterator) {
          final Pair<Long, List<T>> page = Pagination.LongPages.page(start, howMany, iterator);
          dbc.state(page.first() <= Integer.MAX_VALUE, "iterator size overflows an integer");
          return Pair.of(page.first().intValue(), page.second());
      }
docs: Creates a page view of an iterator.
  
  @param <T> the element type parameter
  @param start the index where the page starts
  @param howMany the page size
  @param iterator the iterator to be sliced
  @return a pair containing the iterator size and the requested page