Package com.sk89q.worldedit.util
Class WeightedChoice.Choice<T>
java.lang.Object
com.sk89q.worldedit.util.WeightedChoice.Choice<T>
- Type Parameters:
T
- the choice type
- Enclosing class:
WeightedChoice<T>
A tuple of choice and score.
-
Method Summary
-
Method Details
-
getValue
Get the chosen value.- Returns:
- the value
-
getScore
public double getScore()Get the score.- Returns:
- the score
-