开发者

ForkJoin Framework Quicksort -- Collections

开发者 https://www.devze.com 2023-04-08 12:39 出处:网络
does anyone know if a version of the QuickSort algorithm exists which uses the ForkJoin Framework introduced in Java7 and takes Collections as input? I\'ve found some wich simply sort Integer-arrays a

does anyone know if a version of the QuickSort algorithm exists which uses the ForkJoin Framework introduced in Java7 and takes Collections as input? I've found some wich simply sort Integer-arrays and I'm currently rewriting it for use with Collections, but I don't want to reinvent the wheel so I just decided to ask if anyone knows of a version which uses Collect开发者_StackOverflowions.

Edit: I've implemented it for Lists, but not tested so far. I'm going to post it on codereview.stackexchange.com.

kind regards,

Johannes

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号