Class TermSuggestion.Frequency
- java.lang.Object
-
- org.elasticsearch.search.suggest.term.TermSuggestion.Frequency
-
- All Implemented Interfaces:
Comparator<Suggest.Suggestion.Entry.Option>
- Enclosing class:
- TermSuggestion
public static class TermSuggestion.Frequency extends Object implements Comparator<Suggest.Suggestion.Entry.Option>
-
-
Constructor Summary
Constructors Constructor Description Frequency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Suggest.Suggestion.Entry.Option first, Suggest.Suggestion.Entry.Option second)-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Suggest.Suggestion.Entry.Option first, Suggest.Suggestion.Entry.Option second)
- Specified by:
comparein interfaceComparator<Suggest.Suggestion.Entry.Option>
-
-