2015年3月27日

java中23种设计模式之3-抽象工厂模式(abstract factory pattern)

摘要: 抽象工厂模式的定义:Provide an interface for creating families of related or dependent objects without specifying their concrete classes。为创建一组相关或相互依赖的对象提供一个接口,而... 阅读全文

posted @ 2015-03-27 17:42 wudymand 阅读(138) 评论(0) 推荐(0)

java中23种设计模式之2-策略模式(strategy pattern)

摘要: The Strategy Pattern defines a family of algorithms,encapsulates each one,and makes them interchangeable. Strategy lets the algorithm vary independent... 阅读全文

posted @ 2015-03-27 13:44 wudymand 阅读(129) 评论(0) 推荐(0)

导航