Structural Patterns | |
---|---|
Adapter | Match interfaces of different classes |
Bridge | Separates an object’s interface from its implementation |
Composite | A tree structure of simple and composite objects |
Decorator | Add responsibilities to objects dynamically |
Facade | A single class that represents an entire subsystem |
Flyweight | A fine-grained instance used for efficient sharing |
Proxy | An object representing another object |
结构型设计模式 Structural Patterns :适配器 Adapter(C++ 实现)
于 2023-02-01 13:47:44 首次发布