Пример #1
0
 protected internal override bool LessThan(SpansCell spans1, SpansCell spans2)
 {
     if (spans1.Doc == spans2.Doc)
     {
         return(NearSpansOrdered.DocSpansOrdered(spans1, spans2));
     }
     else
     {
         return(spans1.Doc < spans2.Doc);
     }
 }
Пример #2
0
 public InPlaceMergeSorterAnonymousInnerClassHelper(NearSpansOrdered outerInstance)
 {
     this.outerInstance = outerInstance;
 }
Пример #3
0
 public InPlaceMergeSorterAnonymousClass(NearSpansOrdered outerInstance)
 {
     this.outerInstance = outerInstance;
 }