设计模式的总结

23种设计模式:

为了系统学习23种设计模式,故将所看到的讲例做规划。方便日后研读。

UML类图:

https://www.jianshu.com/p/2828874af134

 

创建型模式:5个

单例模式:

https://www.jianshu.com/p/8b59089a12f6

Builder模式:

https://www.jianshu.com/p/afe090b2e19c

原型模式:

https://www.jianshu.com/p/42266549e6f9

工厂模式:

简单工厂模式:https://www.jianshu.com/p/c47f158a2801

工厂方法模式:https://www.jianshu.com/p/4d0ab8fa1054

抽象工厂模式:

https://www.jianshu.com/p/46bc347dc215

 

行为型:11个

策略模式:

https://www.cnblogs.com/ZhangHaoShuaiGe/p/7826774.html

状态模式:

https://www.jianshu.com/p/e10df58f3e53

观察者模式:

https://www.jianshu.com/p/d5a758dd2795

https://segmentfault.com/a/1190000012295887

中介者模式:

https://www.cnblogs.com/snaildev/p/7686908.html

访问者模式:

https://www.jianshu.com/p/279563870478

迭代器模式:

https://blog.csdn.net/zhengzhb/article/details/7610745

模板方法:

https://www.cnblogs.com/fengshenjingjun/p/8067855.html

备忘录模式:

https://blog.csdn.net/wwwdc1012/article/details/83353580

命令模式:

https://blog.csdn.net/zhwyj1019/article/details/79758057

解释器模式:

https://blog.csdn.net/zhengzhb/article/details/7666020

职责链模式:

https://blog.csdn.net/qq_40709468/article/details/82696147

 

结构型:7个

组合模式:

https://blog.csdn.net/fjxcsdn/article/details/80458954

代理模式:

https://blog.csdn.net/zhen921/article/details/82179845

装饰模式:

https://blog.csdn.net/ma598214297/article/details/80699377

外观模式:

https://www.cnblogs.com/adamjwh/p/9048594.html

享元模式:

https://blog.csdn.net/qq_40709468/article/details/82633928

桥接模式:

https://www.cnblogs.com/WindSun/p/10260547.html

适配器模式:

https://blog.csdn.net/wwwdc1012/article/details/82780560

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值