@Override
    public boolean nextDocument(int docId) {
        int currentDocId = this.currentDocId;
        while (currentIndex < length && currentDocId <= docId) {
            currentDocId = docIds[currentIndex++];
        }
        if (currentDocId <= docId) {
            return false;
        }
        this.currentDocId = currentDocId;
        return true;
    }
Wraps an int stream of document ids into a PostingList.
All documents in the stream are considered matches.

@author Magnar Nedland
@author bjorncs
predicate-search/src/main/java/com/yahoo/search/predicate/index/ZeroConstraintPostingList.java