public interface FSComparator
Modifier and Type | Method and Description |
---|---|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2)
Compare two FSs.
|
int compare(FeatureStructure fs1, FeatureStructure fs2)
fs1
- First feature structure.fs2
- Second feature structure.-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.