Interface FSImplComparator

  • All Known Implementing Classes:
    DefaultAnnotationComparator

    public interface FSImplComparator
    Interface to compare two feature structures, represented by their addresses.
    Version:
    $Revision: 1.1 $
    • Method Detail

      • compare

        int compare​(int addr1,
                    int addr2)
        Compare two FSs.
        Parameters:
        addr1 - Address of FS1.
        addr2 - Address of FS2.
        Returns:
        -1, if FS1 is "smaller" than FS2; 1, if FS2 is smaller than FS1; and 0, if FS1 equals FS2.