摘要: /** * 目标:厨师做好了菜,服务员才能端走,需要交替 */ public class Main { public static void main(String[] args) { Food f = new Food(); Producer p = new Producer(f); Consumer c = new Consumer... 阅读全文
posted @ 2016-05-04 14:18 妖精的九尾 阅读(75) 评论(0) 推荐(0) 编辑