public BytesRef next() {termOrd++;if (termOrd < terms.length) {return setTerm();} else {return null;}}

public override BytesRef Next(){termOrd++;if (termOrd < outerInstance.terms.Length){return SetTerm();}else{return null;}}
