随笔分类 - 排序
摘要:public class ShellSort { public static void main(String[] args) { int A[] = { 5, 2, 9, 4, 7, 6, 1, 3, 8 };// 从小到大希尔排序 sort(A,A.length); for (int i = 0; i = 1) { for (int i = h...
阅读全文
摘要:import org.apache.commons.lang.builder.CompareToBuilder;Collections.sort(outboundNotices, new Comparator() { @Override public int compare(OutboundNoticePrintRespV...
阅读全文
浙公网安备 33010602011771号