Ejemplo n.º 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());
                }
            }
Ejemplo n.º 2
0
 private void  InitBlock(NearSpansOrdered enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Ejemplo n.º 3
0
 public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
Ejemplo n.º 4
0
			private void  InitBlock(NearSpansOrdered enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Ejemplo n.º 5
0
			public AnonymousClassComparator(NearSpansOrdered enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}