Class RandomCollection<E>

java.lang.Object
com.adventure.models.RandomCollection<E>
Type Parameters:
E - Collection type

public class RandomCollection<E> extends Object
Class used to pick an item randomly from a list with a given probability.
  • Constructor Details

    • RandomCollection

      public RandomCollection()
    • RandomCollection

      public RandomCollection(Random random)
  • Method Details