Choosing an element from at random from an array with specific probabilities per element
<p>I wish to select elements at random from an array, where each element has a specific probability of being chosen. Is there an efficient way to do this, or possibly something built into Java that already accomplishes this?</p>
