摘要:
public class myBufferedReaderDemo { public static void main(String[] arg) throws IOException{ FileReader fr = new FileReader("demo.txt"); MyBufferedRe 阅读全文
摘要:
class Resource { private boolean flag = false; private String name; private int count; //资源锁 Lock lock = new ReentrantLock(); //监视器类 Condition produce 阅读全文