public MultiTermsEnum(ReaderSlice[] slices) {queue = new TermMergeQueue(slices.length);top = new TermsEnumWithSlice[slices.length];subs = new TermsEnumWithSlice[slices.length];subDocs = new MultiPostingsEnum.EnumWithSlice[slices.length];for(int i=0;i<slices.length;i++) {subs[i] = new TermsEnumWithSlice(i, slices[i]);subDocs[i] = new MultiPostingsEnum.EnumWithSlice();subDocs[i].slice = slices[i];}currentSubs = new TermsEnumWithSlice[slices.length];}

public MultiTermsEnum ( ReaderSlice [ ] slices ) { queue = new TermMergeQueue ( slices . length ) ; top = new TermsEnumWithSlice [ slices . length ] ; subs = new TermsEnumWithSlice [ slices . length ] ; subDocs = new MultiPostingsEnum . EnumWithSlice [ slices . length ] ; for ( int i = 0 ; i < slices . length ; i ++ ) { subs [ i ] = new TermsEnumWithSlice ( i , slices [ i ] ) ; subDocs [ i ] = new MultiPostingsEnum . EnumWithSlice ( ) ; subDocs [ i ] . slice = slices [ i ] ; } currentSubs = new TermsEnumWithSlice [ slices . length ] ; }
public MultiTermsEnum(ReaderSlice[] slices){queue = new TermMergeQueue(slices.Length);top = new TermsEnumWithSlice[slices.Length];subs = new TermsEnumWithSlice[slices.Length];subDocs = new MultiDocsEnum.EnumWithSlice[slices.Length];subDocsAndPositions = new MultiDocsAndPositionsEnum.EnumWithSlice[slices.Length];for (int i = 0; i < slices.Length; i++){subs[i] = new TermsEnumWithSlice(i, slices[i]);subDocs[i] = new MultiDocsEnum.EnumWithSlice();subDocs[i].Slice = slices[i];subDocsAndPositions[i] = new MultiDocsAndPositionsEnum.EnumWithSlice();subDocsAndPositions[i].Slice = slices[i];}currentSubs = new TermsEnumWithSlice[slices.Length];}
