Skip navigation links
A C D E G H I R S T U 

C

choose(Random) - Method in class DenseBag
Given a random number generator, randomly choose an element from the Bag according to the distribution of objects in the Bag (e.g., if a Bag contains 7 a's and 3 b's, then 70% of the time choose should return an a, and 30% of the time it should return a b.
contains(Object) - Method in class DenseBag
Returns true if the Bag contains one or more instances of o
A C D E G H I R S T U 
Skip navigation links

Web Accessibility