T
- the choice typepublic static class WeightedChoice.Choice<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
double |
getScore()
Get the score.
|
T |
getValue()
Get the chosen value.
|
public T getValue()
public double getScore()