org.apache.uima.cas.impl

## 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(int addr1, int addr2)` Compare two FSs.

- - ### 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.

Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.