1 /** 2 * 线程池原理 3 */ 4 public class ThreadPoolExecutor { 5 6 //大部分线程池都试调用的ThreadPoolExecutor这个类 7 //如果你想自定义线程池,创建一个ThreadPoolExecutor对象,传入参数即可 8 9 }