org.fife.ui.autocomplete
Class SortByRelevanceComparator
java.lang.Object
org.fife.ui.autocomplete.SortByRelevanceComparator
- All Implemented Interfaces:
- Comparator
public class SortByRelevanceComparator
- extends Object
- implements Comparator
Compares two Completions by their relevance before
sorting them lexicographically.
- Version:
- 1.0
- Author:
- Robert Futrell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortByRelevanceComparator
public SortByRelevanceComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator
Copyright © 2003-2011. All Rights Reserved.