public class DefaultAnnotationComparator extends Object implements FSImplComparator
Constructor and Description |
---|
DefaultAnnotationComparator(CASImpl cas) |
public DefaultAnnotationComparator(CASImpl cas)
public int compare(int addr1, int addr2)
compare
in interface FSImplComparator
addr1
- Address of FS1.addr2
- Address of 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.