java: public boolean incrementToken() {if (used) {return false;}clearAttributes();termAttribute.append(value);offsetAttribute.setOffset(0, length);used = true;return true;}
C#: public override bool IncrementToken(){if (used){return false;}ClearAttributes();termAttribute.Append(value);offsetAttribute.SetOffset(0, value.Length);used = true;return true;}