摘要:
package com.kaibing.thread; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class ABCAlternate { pu... 阅读全文
摘要:
package com.kaibing.design; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class ProductorAndCustomerLo... 阅读全文
摘要:
package com.kaibing.design; public class ProductorAndCustomer { public static void main(String[] args) { Clerk clerk = new Clerk(); Productor productor = new Productor(clerk);... 阅读全文