public class DefaultFSAnnotationComparator extends Object implements FSComparator
| Constructor and Description |
|---|
DefaultFSAnnotationComparator(CAS cas) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2)
Compare two annotations.
|
public DefaultFSAnnotationComparator(CAS cas)
public int compare(FeatureStructure fs1, FeatureStructure fs2)
compare in interface FSComparatorfs1 - FS1.fs2 - FS2.-1, if FS1 is "smaller" than FS2; 1, if FS2 is smaller
than FS1; and 0, if FS1 equals FS2.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.