摘要:
public class Test1 { private Logger logger = LoggerFactory.getLogger(Test1.class); private int max = 2; private LinkedList<Object> storage = new Linke 阅读全文
摘要:
public class MultiLockExample { private Object lock1 = new Object(); private Object lock2 = new Object(); public void method1() throws InterruptedExce 阅读全文