gate.util
Class AnnotationDiffer.PairingOffsetComparator
java.lang.Object
gate.util.AnnotationDiffer.PairingOffsetComparator
- All Implemented Interfaces:
- Comparator<AnnotationDiffer.Pairing>
- Enclosing class:
- AnnotationDiffer
public static class AnnotationDiffer.PairingOffsetComparator
- extends Object
- implements Comparator<AnnotationDiffer.Pairing>
Compares two choices based on start offset of key (or response
if key not present) and type if offsets are equal.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDiffer.PairingOffsetComparator
public AnnotationDiffer.PairingOffsetComparator()
compare
public int compare(AnnotationDiffer.Pairing first,
AnnotationDiffer.Pairing second)
- Compares two choices based on start offset of key (or response
if key not present) and type if offsets are equal.
- Specified by:
compare
in interface Comparator<AnnotationDiffer.Pairing>