org.apache.uima.tools.cfe.support
Class UIMAAnnotationOffsetComparator

java.lang.Object
  extended by org.apache.uima.tools.cfe.support.UIMAAnnotationOffsetComparator
All Implemented Interfaces:
Comparator<org.apache.uima.jcas.tcas.Annotation>

public class UIMAAnnotationOffsetComparator
extends Object
implements Comparator<org.apache.uima.jcas.tcas.Annotation>


Constructor Summary
UIMAAnnotationOffsetComparator()
           
UIMAAnnotationOffsetComparator(Class<?>[] typePriorities)
           
 
Method Summary
 int compare(org.apache.uima.jcas.tcas.Annotation a1, org.apache.uima.jcas.tcas.Annotation a2)
           
 boolean equal(org.apache.uima.jcas.tcas.Annotation a1, org.apache.uima.jcas.tcas.Annotation a2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

UIMAAnnotationOffsetComparator

public UIMAAnnotationOffsetComparator(Class<?>[] typePriorities)

UIMAAnnotationOffsetComparator

public UIMAAnnotationOffsetComparator()
Method Detail

compare

public int compare(org.apache.uima.jcas.tcas.Annotation a1,
                   org.apache.uima.jcas.tcas.Annotation a2)
Specified by:
compare in interface Comparator<org.apache.uima.jcas.tcas.Annotation>

equal

public boolean equal(org.apache.uima.jcas.tcas.Annotation a1,
                     org.apache.uima.jcas.tcas.Annotation a2)


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.