
线程
使劲没想出一个名字
java 软件开发
展开
-
线程同步优化
http://www.ibm.com/developerworks/cn/java/j-threads/index2.html转载 2014-01-08 17:44:00 · 788 阅读 · 0 评论 -
线程 wait notifyAll
public class Resource { private static final int size = 10; private List container = new ArrayList(size); public synchronized void get() throws InterruptedException { if (conta原创 2014-09-04 16:46:11 · 785 阅读 · 1 评论