摘要: package sort;public class BubbleSort { private int[] array; private int maxSize; public BubbleSort(int maxSize) { this.array = new int[maxSize]; this.maxSize = maxSize; } private int[] getRandomNum() { for (int i = 0; i < maxSize; i++) { array[i] = (int) Math.round(Math.random() * 1000); } re... 阅读全文
posted @ 2012-07-25 16:44 雲端之風 阅读(555) 评论(1) 推荐(0) 编辑