java.lang.Object
com.adventure.models.RandomCollection<E>
- Type Parameters:
E
- Collection type
Class used to pick an item randomly from a list with a given probability.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomCollection
public RandomCollection() -
RandomCollection
-
-
Method Details
-
add
-
next
-