public int nextDoc() {if (!didNext) {didNext = true;return (doc = 0);} else {return (doc = NO_MORE_DOCS);}}

public override int NextDoc(){if (_didNext || (_liveDocs != null && !_liveDocs.Get(0))) return (_doc = NO_MORE_DOCS);_didNext = true;return (_doc = 0);}
