|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object opennlp.uima.util.AnnotationComparator
T
- public class AnnotationComparator
Checks two annotations for equality.
Constructor Summary | |
---|---|
AnnotationComparator()
|
Method Summary | |
---|---|
int |
compare(org.apache.uima.cas.text.AnnotationFS a,
org.apache.uima.cas.text.AnnotationFS b)
Compares the begin indexes of the annotations. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public AnnotationComparator()
Method Detail |
---|
public int compare(org.apache.uima.cas.text.AnnotationFS a, org.apache.uima.cas.text.AnnotationFS b)
compare
in interface java.util.Comparator<org.apache.uima.cas.text.AnnotationFS>
a
- - first anntoationb
- - second annotation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |