@Override public boolean hasNext() { if (currentChunk != null && currentChunk.hasNext()) { return true; } return iteratorOverChunks.hasNext(); }
@Override public IssueDoc next() { if (currentChunk == null || !currentChunk.hasNext()) { currentChunk = nextChunk(); } return currentChunk.next(); }
@Override public boolean hasNext() { if (currentChunk != null && currentChunk.hasNext()) { return true; } return iteratorOverChunks.hasNext(); }
@Override public IssueDoc next() { if (currentChunk == null || !currentChunk.hasNext()) { currentChunk = nextChunk(); } return currentChunk.next(); }