看别人的代码,整理一些零碎的东西

Executors 创建线程池 **Executors可以创建不同类型的线程池,先创建一个主线程 public class ThreadForPool implements Runnable { private Integer index; public ThreadForPool(Integer index) { super(); this.index = index; } public Thr
相关文章
相关标签/搜索