org.apache.uima.tools.cfe.support
Class UIMAAnnotationOffsetComparator
java.lang.Object
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>
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 |
UIMAAnnotationOffsetComparator
public UIMAAnnotationOffsetComparator(Class<?>[] typePriorities)
UIMAAnnotationOffsetComparator
public UIMAAnnotationOffsetComparator()
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.