设计方法

这个是以为博主的设计方法归纳,转载记录一下

 https://www.cnblogs.com/baxianhua/p/11770434.html

 

创建型

1. Factory Method(工厂方法)--

https://www.cnblogs.com/baxianhua/p/11648485.html

 

2. Abstract Factory(抽象工厂)--

https://www.cnblogs.com/baxianhua/p/11648485.html

 

3. Builder(建造者)--

https://www.cnblogs.com/baxianhua/p/11535677.html

 

4. Prototype(原型)--

https://www.cnblogs.com/baxianhua/p/11498432.html

 

5. Singleton(单例)--

https://www.cnblogs.com/baxianhua/p/11419829.html

 

结构型

6. Adapter Class/Object(适配器)--

https://www.cnblogs.com/baxianhua/p/11388899.html

 

7. Bridge(桥接)--

https://www.cnblogs.com/baxianhua/p/11358707.html

 

8. Composite(组合)--

https://www.cnblogs.com/baxianhua/p/11350253.html

 

9. Decorator(装饰)--

https://www.cnblogs.com/baxianhua/p/11344097.html

 

10. Facade(外观)--

https://www.cnblogs.com/baxianhua/p/11301186.html

 

11. Flyweight(享元)--

https://www.cnblogs.com/baxianhua/p/11190265.html

 

12. Proxy(代理)--

 https://www.cnblogs.com/baxianhua/p/10870612.html

 

行为型

13. Interpreter(解释器)--

https://www.cnblogs.com/baxianhua/p/11160111.html

 

14. Template Method(模板方法)--

https://www.cnblogs.com/baxianhua/p/10910767.html

 

15. Chain of Responsibility(责任链)--

https://www.cnblogs.com/baxianhua/p/11141861.html

 

16. Command(命令)--

 https://www.cnblogs.com/baxianhua/p/11133357.html

 

17. Iterator(迭代器)--

https://www.cnblogs.com/baxianhua/p/11096710.html

 

18. Mediator(中介者)--

 https://www.cnblogs.com/baxianhua/p/11089655.html

 

19. Memento(备忘录)--

https://www.cnblogs.com/baxianhua/p/10955900.html

 

20. Observer(观察者)--

https://www.cnblogs.com/baxianhua/p/10949842.html

 

21. State(状态)--

https://www.cnblogs.com/baxianhua/p/10893976.html

 

22. Strategy(策略)--

https://www.cnblogs.com/baxianhua/p/10926204.html

 

23. Visitor(访问者)--

https://www.cnblogs.com/baxianhua/p/10904122.html

 

posted @ 2020-10-27 09:56  Ian_learning  阅读(134)  评论(0编辑  收藏  举报