public static class AnnotationDiffer.PairingOffsetComparator extends Object implements Comparator<AnnotationDiffer.Pairing>, Serializable
Constructor and Description |
---|
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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(AnnotationDiffer.Pairing first, AnnotationDiffer.Pairing second)
compare
in interface Comparator<AnnotationDiffer.Pairing>
Copyright © 2024 GATE. All rights reserved.