10 状态模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
09 模板模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
08 命令模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
07 观察者模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
10 策略模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
06 代理模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
05 装饰器模式 百度云盘:https://pan.baidu.com/s/1mK0Sl3vPc5qoIlXNs4Nt3Q提取码: yacb代码地址:https://gitee.com/powerCheng/learn_designmode.git
01 单例模式 饿汉模式 /** * 单例的饿汉模式 * * @author chengwei * @date 2019-06-06 10:01 */public class Singleton { /** 当加载Singleton.class时创建该对象 */ private static Singleton singleton = new Singleton(); /** 注意将构造器改为私有的 */ private Singleton() { } ..