java: public BytesRef next() {termUpto++;if (termUpto >= info.terms.size()) {return null;} else {info.terms.get(info.sortedTerms[termUpto], br);return br;}}
C#: public override BytesRef Next(){termUpto++;if (termUpto >= info.terms.Count){return null;}else{info.terms.Get(info.sortedTerms[termUpto], br);return br;}}