public static class AnnotationDiffer.PairingOffsetComparator extends Object implements Comparator<AnnotationDiffer.Pairing>
Constructor and Description |
---|
AnnotationDiffer.PairingOffsetComparator() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public AnnotationDiffer.PairingOffsetComparator()
public int compare(AnnotationDiffer.Pairing first, AnnotationDiffer.Pairing second)
compare
in interface Comparator<AnnotationDiffer.Pairing>