摘要: 定义 The Observer pattern defines a one-to-many dependency between objects so that when one changes state, all of its dependents are notified and updated automatically. 观察者模式定义了对象之间的一对多的依赖关系,这样当一个对象的状态发... 阅读全文
posted @ 2009-03-17 21:02 摇摆的蒜头酥 阅读(424) 评论(0) 推荐(0) 编辑