![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thread
梅八哥
懒人推动技术进步
展开
-
Runnable+Callable+FutureTask
Runnable interface void run() donot throws Exception Callable<V> interface V call() throws Exception Future<V> ...原创 2016-02-18 14:56:26 · 77 阅读 · 0 评论 -
ThreadLocal
private static final ThreadLocal<Integer> value = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } }; ...原创 2016-03-02 17:18:29 · 126 阅读 · 0 评论