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 double
prob
private java.lang.String
suggestion
-
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 int
compareTo(@NotNull SuggestionSorter.RankedSuggestion o)
-
-
-
Method Detail
-
compareTo
public int compareTo(@NotNull @NotNull SuggestionSorter.RankedSuggestion o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<SuggestionSorter.RankedSuggestion>
-
-