code: @Override
     public int nextDoc() throws IOException
     {
        if (index < docs.size())
        {
           currentDocData = docs.get(index);
           index++;
           return currentDocData.docID;
        }
        else
        {
           currentDocData = null;
           return NO_MORE_DOCS;
        }
     }
docs: {@inheritDoc}