|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.util.AnnotationDiffer.PairingScoreComparator
protected static class AnnotationDiffer.PairingScoreComparator
Compares two pairings: the better score is preferred; for the same score the better type is preferred (exact matches are preffered to partial ones).
Constructor Summary | |
---|---|
protected |
AnnotationDiffer.PairingScoreComparator()
|
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
Compares two choices: the better score is preferred; for the same score the better type is preferred (exact matches are preffered to partial ones). |
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 |
---|
protected AnnotationDiffer.PairingScoreComparator()
Method Detail |
---|
public int compare(Object o1, Object o2)
compare
in interface Comparator
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |