Kingle
你所有不曾料想过的问题,都会随着时间的推移而与你不期而遇
摘要: java JDK里面容器类的排序算法使用的主要是插入排序和归并排序,可能不同版本的实现有所不同,关键代码如下: /** * Performs a sort on the section of the array between the given indices * using a mergesort with exponential search algorithm (in which the merge * is performed by exponential search). n*log(n) performance is guaranteed * a... 阅读全文
posted @ 2012-03-09 15:19 Kingle 阅读(2642) 评论(0) 推荐(0) 编辑