Interface Pager<T>

Type Parameters:
T - the item type
All Superinterfaces:
Iterator<T>

public interface Pager<T> extends Iterator<T>
Iterator-like interface for paginated results. Call Iterator.hasNext() to fetch the next page if needed, then Iterator.next() to get each item. Check getError() after iteration completes.
  • Method Details