@Override public ResponseT next() { if (!hasNext()) { throw new NoSuchElementException("No more pages left"); } oldResponse = nextPageFetcher.nextPage(oldResponse); return oldResponse; }
@Override public ResponseT next() { if (!hasNext()) { throw new NoSuchElementException("No more pages left"); } oldResponse = nextPageFetcher.nextPage(oldResponse); return oldResponse; }