protected static class AnnotationDiffer.PairingScoreComparator extends Object implements Comparator<AnnotationDiffer.Pairing>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
PairingScoreComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(AnnotationDiffer.Pairing first,
AnnotationDiffer.Pairing second)
Compares two choices:
the better score is preferred;
for the same score the better type is preferred (exact matches are
preffered to partial ones).
|
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.