creates allocationpercentages.length many complete buckets with their percentages assigned to them.the first bucket index 0 is the control group . complete means all values are set to some defaults . concode_field_sep int internalId concode_field_sep Bucket createCompleteBucket concode_elem_sep Bucket createCompleteBucket concode_elem_sep String[] bucketNameColors concode_elem_sep String[] bucketNameColors concode_elem_sep Bucket createFromJSONString concode_elem_sep Bucket createBucket concode_elem_sep Bucket createBucket concode_elem_sep List<Bucket> createBuckets concode_elem_sep List<Bucket> createBuckets concode_elem_sep List<Bucket> createBuckets
List < Bucket > function ( Experiment arg0 , double [ ] arg1 ) { ArrayList < Bucket > loc0 = new ArrayList < > ( arg1 . length ) ; for ( int loc1 = 0 ; loc1 < arg1 . length ; ++ loc1 ) { loc0 . add ( loc1 , createCompleteBucket ( arg0 ) . setAllocationPercent ( arg1 [ loc1 ] ) ) ; } loc0 . get ( 0 ) . setControl ( true ) ; return loc0 ; }