摘要:
1 /* 2 * 在编写代码之前一定要做好类的规划 3 */ 4 class Productor implements Runnable { 5 Cache c = null; 6 Productor(Cache c) { 7 this.c = c; 8 } 9 @Override10 public void run() {11 // TODO Auto-generated method stub12 int i = 1;13 while(true) {14 i... 阅读全文