public class SortByRelevanceComparator extends java.lang.Object implements java.util.Comparator<Completion>
Completion
s by their relevance before
sorting them lexicographically.构造器和说明 |
---|
SortByRelevanceComparator() |
限定符和类型 | 方法和说明 |
---|---|
int |
compare(Completion c1,
Completion c2) |
public int compare(Completion c1, Completion c2)
compare
在接口中 java.util.Comparator<Completion>