Пример #1
0
            public override bool LessThan(System.Object o1, System.Object o2)
            {
                SpansCell spans1 = (SpansCell)o1;
                SpansCell spans2 = (SpansCell)o2;

                if (spans1.Doc() == spans2.Doc())
                {
                    return(NearSpansOrdered.DocSpansOrdered(spans1, spans2));
                }
                else
                {
                    return(spans1.Doc() < spans2.Doc());
                }
            }
Пример #2
0
 private void  InitBlock(NearSpansOrdered enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Пример #3
0
 public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
Пример #4
0
			private void  InitBlock(NearSpansOrdered enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Пример #5
0
			public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}