摘要:
Book-深入设计模式-外观模式 https://refactoringguru.cn/design-patterns/facade 外观模式 亦称: Facade 外观模式是一种结构型设计模式, 能为程序库、 框架或其他复杂类提供一个简单的接口。 外观类为包含许多活动部件的复杂子系统提供一个简单的 阅读全文
posted @ 2023-03-06 15:17
Theseus‘Ship
阅读(23)
评论(0)
推荐(0)
摘要:
Book-深入设计模式-装饰模式 https://refactoringguru.cn/design-patterns/decorator 装饰模式 亦称: 装饰者模式、装饰器模式、Wrapper、Decorator 装饰模式是一种结构型设计模式, 允许你通过将对象放入包含行为的特殊封装对象中来为原 阅读全文
posted @ 2023-03-06 14:50
Theseus‘Ship
阅读(16)
评论(0)
推荐(0)
摘要:
Book-深入设计模式-组合模式 https://refactoringguru.cn/design-patterns/composite 组合模式 亦称: 对象树、Object Tree、Composite 组合模式是一种结构型设计模式, 你可以使用它将对象组合成树状结构, 并且能像使用独立对象一 阅读全文
posted @ 2023-03-06 05:27
Theseus‘Ship
阅读(16)
评论(0)
推荐(0)
摘要:
Book-深入设计模式-桥接模式 https://refactoringguru.cn/design-patterns/bridge 桥接模式 亦称: Bridge 桥接模式是一种结构型设计模式, 可将一个大类或一系列紧密相关的类拆分为抽象和实现两个独立的层次结构, 从而能在开发时分别使用。 解决方 阅读全文
posted @ 2023-03-06 05:10
Theseus‘Ship
阅读(35)
评论(0)
推荐(0)

浙公网安备 33010602011771号