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