一。生命周期 There are three built-in build lifecycles: default, clean and site. The default lifecycle handles your project deployment the clean lifecycle h Read More
一、明确概念 A buffer is something that has yet to be "written" to disk. A cache is something that has been "read" from the disk and stored for later use. 也 Read More
如果需要使用的Map中的key无序,选择HashMap;如果要求key有序,则选择TreeMap。但是选择TreeMap就会有性能问题,因为TreeMap的get操作的时间复杂度是O(log(n))的,相比于HashMap的O(1)还是差不少的,LinkedHashMap的出现就是为了平衡这些因素,... Read More
1.7使用旧排序:System.setProperty("java.util.Arrays.useLegacyMergeSort", "true"); 1.7代码public static void sort(Object[] a) { if (LegacyMergeSort.user... Read More