Package org.apache.uima.cas.impl
Interface FSComparator
-
public interface FSComparatorUNUSED V3 backwards compat only Delete REplace with Comparator<FeatureStructure> or the like. Interface to compare two feature structures.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompare(FeatureStructure fs1, FeatureStructure fs2)Compare two FSs.
-
-
-
Method Detail
-
compare
int compare(FeatureStructure fs1, FeatureStructure fs2)
Compare two FSs.- Parameters:
fs1- First feature structure.fs2- Second feature structure.- Returns:
-1, iffs1is "smaller" thanfs2;1, iffs2is smaller thanfs1; and0, iffs1equalsfs2.
-
-