`
liushulin
  • 浏览: 1590 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
public class Test_ThreadPoolExecutor { /** * @param args */ public static void main(String[] args) { Test_ThreadPoolExecutor tt = new Test_ThreadPoolExecutor(); tt.start(); } public void start(){ final AtomicInteger atomicInteger = new AtomicInteger(1); /* * 定义一个线程 ...
package com.samples.thread; import java.util.Date; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concur ...
Global site tag (gtag.js) - Google Analytics