Interface WeightedRandomList.IWeighted

Enclosing class:
WeightedRandomList<T extends WeightedRandomList.IWeighted>

public static interface WeightedRandomList.IWeighted
An interface for a weighted value.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the weight of this value.
  • Method Details

    • weight

      int weight()
      Gets the weight of this value.
      Returns:
      The weight.