2018年12月23日

摘要: 命令模式 阅读全文
posted @ 2018-12-23 20:25 竺旭东 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 备忘录模式 阅读全文
posted @ 2018-12-23 20:19 竺旭东 阅读(94) 评论(0) 推荐(0) 编辑
摘要: #### ``` Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which is operators. 代表对... 阅读全文
posted @ 2018-12-23 20:14 竺旭东 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 状态模式 阅读全文
posted @ 2018-12-23 16:56 竺旭东 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 责任链模式 阅读全文
posted @ 2018-12-23 16:50 竺旭东 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 观察者模式 阅读全文
posted @ 2018-12-23 16:44 竺旭东 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 策略模式 阅读全文
posted @ 2018-12-23 16:37 竺旭东 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 模板方法模式 阅读全文
posted @ 2018-12-23 16:32 竺旭东 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 组合模式 阅读全文
posted @ 2018-12-23 14:57 竺旭东 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 桥接模式 阅读全文
posted @ 2018-12-23 14:49 竺旭东 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 享元模式 阅读全文
posted @ 2018-12-23 14:26 竺旭东 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 适配器模式 阅读全文
posted @ 2018-12-23 14:12 竺旭东 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 门面模式 阅读全文
posted @ 2018-12-23 13:59 竺旭东 阅读(80) 评论(0) 推荐(0) 编辑
摘要: public class Decorator { / 装饰者模式: Attach additional responsibility to an object dynamically keeping the same interface. Decorators provide a flexible 阅读全文
posted @ 2018-12-23 13:51 竺旭东 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 代理模式 静态代理 动态代理 阅读全文
posted @ 2018-12-23 13:43 竺旭东 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 原型模式 阅读全文
posted @ 2018-12-23 12:27 竺旭东 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 建造者模式 阅读全文
posted @ 2018-12-23 12:16 竺旭东 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 抽象工厂类 阅读全文
posted @ 2018-12-23 11:28 竺旭东 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 工厂模式 反射工厂 实例工厂 将具体工厂类根据产品细化 阅读全文
posted @ 2018-12-23 11:08 竺旭东 阅读(75) 评论(0) 推荐(0) 编辑
摘要: ```java public class SingleTon { /** * 单例模式: * Ensure a class has only one instance,and provide a global point of access to it. * 确保某个类只有一个实例,并提供一个全局访问点来访问该类实例。 */ @Test public void all() ... 阅读全文
posted @ 2018-12-23 10:40 竺旭东 阅读(71) 评论(0) 推荐(0) 编辑

导航