摘要: 设计模式 观察者模式 发布/订阅模式 代码 观察者接口 具体的被观察者 public class HanFeiZi implements IHanFeiZi{ `// 根据是否在吃饭,作为监控的标准 private boolean isHavingBreakfast = false; // 判断是否 阅读全文
posted @ 2019-01-15 23:17 小小____小小 阅读(154) 评论(0) 推荐(0)