@Override
    public int nextIndex() {
        returnedFromNext = null;
        return base.nextIndex();
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
document/src/main/java/com/yahoo/document/annotation/InvalidatingIterator.java