48

设计模式之中介者模式

 6 years ago
source link: https://juejin.im/post/5a827f645188257a666f0f1c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
中介者模式属于行为型模式。 中介者模式的定义 定义:用一个中介者对象来封装一系列的对象交互。中介者使得各对象不需要显式地相互引用,从而使其松散耦合,而且可以独立地改变它们之间的交互。 中介者模式 在软件开发中,通过提供一个统一的接口让系统不同部分进行通信。一般

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK