摘要: 一、定义 桥梁模式(Bridge Pattern)也叫做桥接模式,是一个比较简单的模式,其定义如下: Decouple an abstraction from its implementation so that the two can vary independently.(将抽象和实现解耦,使得 阅读全文
posted @ 2017-01-03 11:31 飞轩 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 一、定义 享元模式(Flyweight Pattern)是池技术的重要实现方式,其定义如下:Use sharing to support large numbers of fine grained objects efficiently.(使用共享对象可有效地支持大量的细粒度的对象。) 享元模式的定 阅读全文
posted @ 2017-01-03 10:59 飞轩 阅读(162) 评论(0) 推荐(0) 编辑