最新 最热

设计模式之桥模式

Decouple an abstraction from its implementation allowing the two to vary independently.

2020-08-10
0

设计模式之装饰器模式

Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for extending f...

2020-08-10
1

设计模式之外观模式

Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.

2020-08-10
1

设计模式之享元模式

Use sharing to support large numbers of similar objects efficiently.

2020-08-10
0

设计模式之代理模式

Provide a surrogate or placeholder for another object to control access to it.

2020-08-10
2

设计模式之抽象工厂模式

Provide an interface for creating families of related or dependent objects without specifying their concrete classes.

2020-08-10
1

设计模式之生成器模式

Separate the construction of a complex object from its representation allowing the same construction process to create various representations.

2020-08-10
1

设计模式之备忘录模式

Without violating encapsulation, capture and externalize an object’s internal state allowing the object to be restored to this state later.

2020-08-10
2

设计模式之状态模式

Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.

2020-08-10
1

设计模式之组合模式

Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.

2020-08-06
1