Interface WeightedRandomList.IWeighted
- Enclosing class:
WeightedRandomList<T extends WeightedRandomList.IWeighted>
public static interface WeightedRandomList.IWeighted
An interface for a weighted value.
-
Method Summary
-
Method Details
-
weight
int weight()Gets the weight of this value.- Returns:
- The weight.
-