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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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 © 2018 The Apache Software Foundation. All rights reserved.