Class RandomCollection<E>

java.lang.Object
net.playavalon.mythicdungeons.utility.RandomCollection<E>

public class RandomCollection<E> extends Object
  • Constructor Details

    • RandomCollection

      public RandomCollection()
    • RandomCollection

      public RandomCollection(Random random)
  • Method Details

    • add

      public RandomCollection<E> add(double weight, E result)
    • next

      public E next()
    • clear

      public void clear()
    • size

      public int size()