摘要: class Clerk { private int products; private int maximum; // 最大储货量 public Clerk(int maxmum) { this.maximum = maxmum; } public synchronized void addProduct() { if (products >= ma... 阅读全文
posted @ 2018-07-22 14:00 笑叹词穷 阅读(301) 评论(0) 推荐(0) 编辑