摘要:
//获取CPU合数 System.out.println(Runtime.getRuntime().availableProcessors()); 阅读全文
摘要:
1 //Executors 工具类 2 //使用线程池之后,使用线程池来创建线程 3 public class Dome1 { 4 public static void main(String[] args) { 5 ExecutorService threadExecutor = Executor 阅读全文