returns a random choice from the input items . concode_field_sep String __OBFID concode_elem_sep String __OBFID concode_elem_sep int itemWeight concode_field_sep int getTotalWeight concode_elem_sep int getTotalWeight
WeightedRandom . Item function ( Random arg0 , Collection arg1 ) { return getRandomItem ( arg0 , arg1 , getTotalWeight ( arg1 ) ) ; }