摘要:
public static void main(String[] args) { int[] array = { 42, 20, 17, 13, 28, 14, 23, 15,3 }; Test test = new Test(); // test.bubbleSort(array); // test.selctionSort(array); // tes...
阅读全文
摘要:
ArrayList<String> list = new ArrayList<>(); // 非线程安全,有序可重复,允许元素可以有一个或多个null、底层由数组实现、查询较快插入与与删除元素的速度慢 // jdk1.8 初始容量为10扩充容量oldCapacity + (oldCapacity >
阅读全文