public class AnnotationComparator extends Object implements Comparator<org.apache.uima.cas.text.AnnotationFS>
| Constructor and Description |
|---|
AnnotationComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.apache.uima.cas.text.AnnotationFS a,
org.apache.uima.cas.text.AnnotationFS b)
Compares the begin indexes of the annotations.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(org.apache.uima.cas.text.AnnotationFS a,
org.apache.uima.cas.text.AnnotationFS b)
compare in interface Comparator<org.apache.uima.cas.text.AnnotationFS>a - - first annotationb - - second annotationCopyright © 2015 The Apache Software Foundation. All rights reserved.