搬砖小弟
2019-06-30

定义 命令模式是一个高内聚的模式,其定义为:Encapsulate a request as an object,thereby letting you parameterize clients with different reques...

2019-06-24

定义 中介者模式的定义为:Define an object that encapsulates how a set of objects interact.Mediator promotes loose coupling by keepi...

2019-06-24

定义 Specify the kinds of objects to create using a prototypical instance,and create new objects by copying this prototyp...

2019-06-24

定义 Provide a surrogate or placeholder for another object to control access to it.(为其他对象提供一种代理以控制对这个对象的访问。) UML 代码实现 ...

2019-06-24

Ensure a class has only one instance, and provide a global point of access to it.(确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。) 类...