Package org.genesys.taxonomy.checker
Class Suggestion<T>
- java.lang.Object
-
- org.genesys.taxonomy.checker.Suggestion<T>
-
- Type Parameters:
T- the generic type
public class Suggestion<T> extends Object
The Class Suggestion.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetScore()Gets the score.TgetSuggestion()Gets the suggestion.voidsetScore(double newScore)Update the scoreStringtoString()
-
-
-
Method Detail
-
getScore
public double getScore()
Gets the score.- Returns:
- the score
-
setScore
public void setScore(double newScore)
Update the score- Parameters:
newScore- obviously
-
getSuggestion
public T getSuggestion()
Gets the suggestion.- Returns:
- the suggestion
-
-