protected static class AnnotationDiffer.PairingScoreComparator extends Object implements Comparator<AnnotationDiffer.Pairing>
Modifier | Constructor and Description |
---|---|
protected |
AnnotationDiffer.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
equals
protected AnnotationDiffer.PairingScoreComparator()
public int compare(AnnotationDiffer.Pairing first, AnnotationDiffer.Pairing second)
compare
in interface Comparator<AnnotationDiffer.Pairing>