2014-05-29星期四21:08:37Proxy,继续GOF。此模式未按GOF编写。c++中使用StringBuilder1、IntentProvideasurrogateorplaceholderforanotherobjecttocontrolaccesstoit.为其他对象提供一种代理以控制对这个对象的访问。2、AlsoKnownAs3、Motivation4、Applicability... Read More
posted @ 2014-05-31 21:18
自由度
Views(176)
Comments(0)
Diggs(0)
2014-05-29星期四21:08:37Proxy,继续GOF。此模式未按GOF编写。c++中使用StringBuilder1、IntentProvideasurrogateorplaceholderforanotherobjecttocontrolaccesstoit.为其他对象提供一种代理以控制对这个对象的访问。2、AlsoKnownAs3、Motivation4、Applicability... Read More
posted @ 2014-05-31 21:18
自由度
Views(212)
Comments(0)
Diggs(0)
中间因为一些琐事,停更了一段时间,现在补将起来。2014-05-17星期六 8:21:46Prototype,继续GOF。可以参考:http://www.codeproject.com/Articles/185348/Prototype-Design-Pattern1、IntentSpecifythekindsofobjectstocreateusingaprototypicalinstance,... Read More
posted @ 2014-05-31 21:17
自由度
Views(202)
Comments(0)
Diggs(0)
2014-05-28星期三21:41:44Composite,继续GOF。Composite组合模式1、IntentComposeobjectsintotreestructurestorepresentpart-wholehierarchies.Compositeletsclientstreatindividualobjectsandcompositionsofobjectsuniformly.将... Read More
posted @ 2014-05-31 21:17
自由度
Views(355)
Comments(0)
Diggs(0)
22:01:24星期一22:01:37Adapter,继续GOF。1、IntentConverttheinterfaceofaclassintoanotherinterfaceclientsexpect.Adapterletsclassesworktogetherthatcouldn'totherwisebecauseofincompatibleinterfaces.将一个类的接口转换成客户希望的... Read More
posted @ 2014-05-31 21:16
自由度
Views(288)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号