摘要: 观察者模式(Observer Design Pattern)定义了对象之间的一对多依赖,当对象状态改变的时候,所有依赖者都会自动收到通知。 阅读全文
posted @ 2020-12-29 10:24 码农充电站 阅读(994) 评论(3) 推荐(1) 编辑