示例#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);
			}