58596061626364
double[] d = new double[size()]; for (int i = 0; i < size(); i++) { d[i] = list.get(i).getProbability(); } this.chooser = new RandomChoice(d); }