摘要: 线程 #创建线程的方式 方法一 extends Thread 方法二 implements Runnable 方法三 implements Callable<T> 方法三 线程池 Executors.newFixedThreadPool(); Executors.newSingleThreadExe 阅读全文
posted @ 2020-07-15 21:54 CyberPelican 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 集合 #属性说明 默认容量 / DEFAULT_CAPACITY 负载因子 / Factor 扩容门槛 / Threshold == 当前容量 * 负载因子 扩容容量 链表转红黑树的阈值/ TREEIFY_THRESHOLD #Collection子类 默认容量 负载因子 扩容门槛 扩容容量 Arr 阅读全文
posted @ 2020-07-15 19:04 CyberPelican 阅读(109) 评论(0) 推荐(0) 编辑