org.apache.lucene.search.spell
Class SuggestWordFrequencyComparator
java.lang.Object
org.apache.lucene.search.spell.SuggestWordFrequencyComparator
- All Implemented Interfaces:
- Comparator<SuggestWord>
public class SuggestWordFrequencyComparator
- extends Object
- implements Comparator<SuggestWord>
Frequency first, then score. Must have
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuggestWordFrequencyComparator
public SuggestWordFrequencyComparator()
compare
public int compare(SuggestWord first,
SuggestWord second)
- Specified by:
compare
in interface Comparator<SuggestWord>
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.