- 策略模式(StrategyDesign Pattern):通过解耦类行为从而提供灵活性。 - 观察者模式(Observer Design Pattern):允许类在不知道任何事情的情况下相互交互。 - 组合模式(CompositeDesign Pattern):为所有类提供了统一的接入点。
基于46个网页-相关网页
... 基于对象的程序设计 object-based programming 基于观察者设计模式 observer design pattern 基于规则的程序设计 rule-based programming ...
基于1个网页-相关网页
Design Pattern - Observer 观察者设计模式
The complexity in SAX comes from the Observer design pattern it implements.
SAX 中的复杂度来自它实现的 Observer 设计模式。
The Observer design pattern allows interested parties to be notified of changes.
Observer设计模式可以把更改通知给对此感兴趣的对象。
In application architecture, a common technique for reducing coupling between components that must communicate with each other is to use a design pattern called the Observer.
在应用程序结构中,通常采用Observer(观察者)设计模式来减少互相通信的组件之间的耦合。
应用推荐