public void setNextEnum(TermsEnum termsEnum) {this.termsEnum = termsEnum;this.boostAtt = termsEnum.attributes().addAttribute(BoostAttribute.class);}
public override void SetNextEnum(TermsEnum termsEnum){this.termsEnum = termsEnum;this.boostAtt = termsEnum.Attributes.AddAttribute<IBoostAttribute>();}