gate.util
Class AnnotationDiffer.PairingOffsetComparator

java.lang.Object
  extended bygate.util.AnnotationDiffer.PairingOffsetComparator
All Implemented Interfaces:
Comparator
Enclosing class:
AnnotationDiffer

public static class AnnotationDiffer.PairingOffsetComparator
extends Object
implements Comparator


Constructor Summary
AnnotationDiffer.PairingOffsetComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AnnotationDiffer.PairingOffsetComparator

public AnnotationDiffer.PairingOffsetComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
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