|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.cas.impl.DefaultFSAnnotationComparator
public class DefaultFSAnnotationComparator
Default implementation to compare two annotations.
Constructor Summary | |
---|---|
DefaultFSAnnotationComparator(CAS cas)
|
Method Summary | |
---|---|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2)
Compare two annotations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFSAnnotationComparator(CAS cas)
Method Detail |
---|
public int compare(FeatureStructure fs1, FeatureStructure fs2)
compare
in interface FSComparator
fs1
- FS1.fs2
- 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 |