void function ( ) { double [ ] loc0 = new double [ size ( ) ] ; for ( int loc1 = 0 ; loc1 < size ( ) ; loc1 ++ ) { loc0 [ loc1 ] = list . get ( loc1 ) . getProbability ( ) ; } this . chooser = new RandomChoice ( loc0 ) ; }
finalize the structure and set the probabilities . concode_field_sep List<ObjectHolder<T>> list concode_elem_sep RandomChoice chooser concode_elem_sep long serialVersionUID concode_field_sep void add concode_elem_sep int size concode_elem_sep T pick concode_elem_sep List<ObjectHolder<T>> getList concode_elem_sep void clear concode_elem_sep T pickFirst