|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.cas.impl.DefaultAnnotationComparator
public class DefaultAnnotationComparator
Default implementation to compare two annotations.
Constructor Summary | |
---|---|
DefaultAnnotationComparator(CASImpl cas)
|
Method Summary | |
---|---|
int |
compare(int addr1,
int addr2)
Compare two annotations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAnnotationComparator(CASImpl cas)
Method Detail |
---|
public int compare(int addr1, int addr2)
compare
in interface FSImplComparator
addr1
- Address of FS1.addr2
- Address of FS2.
-1
, if FS1 is "smaller" than FS2; 1
, if FS2 is smaller
than FS1; and 0
, if FS1 equals FS2.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |