0 设计模式 2017年7月20日 由 kefirzhang · Published 2017年7月20日 设计模式-Decrorator(装饰器) 装饰者模式-装饰对象 定义:动态的将责任附加到对象上,若要扩展功能,...
0 设计模式 2017年7月19日 由 kefirzhang · Published 2017年7月19日 设计模式-观察者模式(Observer) 观察者模式-让你的对象知悉现况,: 定义:观察者模式定义了对象之间一...
0 设计模式 2017年7月18日 由 kefirzhang · Published 2017年7月18日 设计模式-策略模式(Strategy) 策略模式(Strategy) 策略模式-定义算法族,分别封装起来,让...