观察者模式

Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically uml图   观察者模式定义了一种一对多 的依赖关系,让多个观察者对象同时监听某一个主题对象。这个主题对象在状
相关文章
相关标签/搜索