public override bool LessThan(SpansCell spans1, SpansCell spans2)
 {
     if (spans1.Doc() == spans2.Doc())
     {
         return(NearSpansOrdered.DocSpansOrdered(spans1, spans2));
     }
     else
     {
         return(spans1.Doc() < spans2.Doc());
     }
 }
Beispiel #2
0
 private void  InitBlock(NearSpansOrdered enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
			private void  InitBlock(NearSpansOrdered enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Beispiel #4
0
 public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
			public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}