private void InitBlock(Monodoc.Lucene.Net.Index.IndexReader reader, SpanOrQuery enclosingInstance) { this.reader = reader; this.enclosingInstance = enclosingInstance; all = new System.Collections.ArrayList(Enclosing_Instance.clauses.Count); queue = new SpanQueue(enclosingInstance, Enclosing_Instance.clauses.Count); System.Collections.IEnumerator i = Enclosing_Instance.clauses.GetEnumerator(); while (i.MoveNext()) { // initialize all all.Add(((SpanQuery)i.Current).GetSpans(reader)); } }
private void InitBlock(Monodoc.Lucene.Net.Index.IndexReader reader, SpanOrQuery enclosingInstance) { this.reader = reader; this.enclosingInstance = enclosingInstance; all = new System.Collections.ArrayList(Enclosing_Instance.clauses.Count); queue = new SpanQueue(enclosingInstance, Enclosing_Instance.clauses.Count); System.Collections.IEnumerator i = Enclosing_Instance.clauses.GetEnumerator(); while (i.MoveNext()) { // initialize all all.Add(((SpanQuery) i.Current).GetSpans(reader)); } }
public AnonymousClassSpans(Monodoc.Lucene.Net.Index.IndexReader reader, SpanOrQuery enclosingInstance) { InitBlock(reader, enclosingInstance); }
public SpanQueue(SpanOrQuery enclosingInstance, int size) { InitBlock(enclosingInstance); Initialize(size); }
private void InitBlock(SpanOrQuery enclosingInstance) { this.enclosingInstance = enclosingInstance; }