File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/main/java/com/github/coderodde/util Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11package com .github .coderodde .util ;
22
3+ import java .util .ArrayList ;
34import java .util .List ;
45import java .util .Random ;
56
@@ -408,11 +409,19 @@ private static void parallelRadixSortImpl(
408409 BucketKeyList bucketKeyList2 =
409410 listOfBucketKeyLists .getBucketKeyList (i );
410411
412+ List <SorterTask > sorterTasks = new ArrayList <>(spawnDegree );
413+
411414 int size = bucketKeyList2 .size ();
412415
413416 for (int idx = 0 ; idx != size ; idx ++) {
417+ SorterTask sorterTask = new SorterTask (
418+
419+ );
414420 int bucketKey = bucketKeyList2 .getBucketKey (idx );
415- SorterThread sorterThread = new SorterThread ();
421+ SorterThread sorterThread =
422+ new SorterThread (target ,
423+ source ,
424+ );
416425 }
417426
418427 listOfBucketKeyLists .addBucketKeyList (bucketKeyList );
You can’t perform that action at this time.
0 commit comments