Package org.languagetool.rules.spelling
Class SuggestionSorter.RankedSuggestion
- java.lang.Object
-
- org.languagetool.rules.spelling.SuggestionSorter.RankedSuggestion
-
- All Implemented Interfaces:
java.lang.Comparable<SuggestionSorter.RankedSuggestion>
- Enclosing class:
- SuggestionSorter
class SuggestionSorter.RankedSuggestion extends java.lang.Object implements java.lang.Comparable<SuggestionSorter.RankedSuggestion>
-
-
Field Summary
Fields Modifier and Type Field Description private doubleprobprivate java.lang.Stringsuggestion
-
Constructor Summary
Constructors Constructor Description RankedSuggestion(double prob, java.lang.String suggestion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull SuggestionSorter.RankedSuggestion o)
-
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull @NotNull SuggestionSorter.RankedSuggestion o)- Specified by:
compareToin interfacejava.lang.Comparable<SuggestionSorter.RankedSuggestion>
-
-