设计模式
总结设计原则及常用的设计模式
power_cheng
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
09 模板模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 09:51:32 · 178 阅读 · 0 评论 -
08 命令模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 09:47:52 · 238 阅读 · 0 评论 -
07 观察者模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 09:36:12 · 211 阅读 · 0 评论 -
10 策略模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 09:28:22 · 230 阅读 · 0 评论 -
06 代理模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 09:01:45 · 204 阅读 · 0 评论 -
05 装饰器模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git原创 2020-10-10 08:17:09 · 229 阅读 · 0 评论 -
04 外观模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb原创 2020-10-10 08:03:50 · 195 阅读 · 0 评论 -
03 适配器模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb原创 2020-10-09 17:11:37 · 207 阅读 · 0 评论 -
02 工厂模式
百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb原创 2020-10-09 17:08:18 · 195 阅读 · 0 评论 -
01 单例模式
饿汉模式 /** * 单例的饿汉模式 * * @author chengwei * @date 2019-06-06 10:01 */public class Singleton { /** 当加载Singleton.class时创建该对象 */ private static Singleton singleton = new Singleton(); /** 注意将构造器改为私有的 */ private Singleton() { } ..原创 2020-10-09 11:24:58 · 235 阅读 · 1 评论 -
00 设计原则
百度云盘: https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q 提取码: yacb原创 2020-10-09 11:15:16 · 281 阅读 · 0 评论
分享