public override Fields GetTermVectors(int docID) { Fields f = base.GetTermVectors(docID); if (f == null) { return(null); } f = new FieldFilterFields(this, f); // we need to check for emptyness, so we can return // null: return(f.GetEnumerator().MoveNext() ? f : null); }
public FilterIteratorAnonymousInnerClassHelper(FieldFilterFields outerInstance, IEnumerator <string> iterator) : base(iterator) { this.OuterInstance = outerInstance; }