Module org.apache.lucene.suggest
Package org.apache.lucene.search.spell
Class WordBreakSpellChecker.CombinationsThenFreqComparator
java.lang.Object
org.apache.lucene.search.spell.WordBreakSpellChecker.CombinationsThenFreqComparator
- All Implemented Interfaces:
Comparator<WordBreakSpellChecker.CombineSuggestionWrapper>
- Enclosing class:
WordBreakSpellChecker
private static class WordBreakSpellChecker.CombinationsThenFreqComparator
extends Object
implements Comparator<WordBreakSpellChecker.CombineSuggestionWrapper>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(WordBreakSpellChecker.CombineSuggestionWrapper o1, WordBreakSpellChecker.CombineSuggestionWrapper o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CombinationsThenFreqComparator
private CombinationsThenFreqComparator()
-
-
Method Details
-
compare
public int compare(WordBreakSpellChecker.CombineSuggestionWrapper o1, WordBreakSpellChecker.CombineSuggestionWrapper o2) - Specified by:
comparein interfaceComparator<WordBreakSpellChecker.CombineSuggestionWrapper>
-