状态模式

canca17年前 (2007-03-26)276
//状态模式//CopyRight(C) CAnca software Office.2006//Created by CAnca.//说明:将状态封装成一个独立的类.状态父类中的方法是状态管理器的方...

中介者模式

canca17年前 (2007-03-26)324
//中介者模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class MediatorMode{ ...

职责链模式

canca17年前 (2007-03-26)312
//职责链模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class ResponsibilityMode{...

模板方法模式

canca17年前 (2007-03-26)324
//模板方法模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class TemplateMode{ ...

命令模式

canca17年前 (2007-03-26)293
//命令模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class CommandMode{ pu...

解释器模式

canca17年前 (2007-03-26)277
//解释器模式--真实例子//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public...

观察者模式

canca17年前 (2007-03-26)273
//观察者模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class...

访问者模式

canca17年前 (2007-03-26)300
//访问者模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class...

迭代器模式

canca17年前 (2007-03-26)293
//迭代器模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class...

策略模式

canca17年前 (2007-03-26)335
//策略模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class StrategyMode{ p...

备忘录模式

canca17年前 (2007-03-26)278
//备忘录模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class MementoMode{ p...

组合模式

canca17年前 (2007-03-26)302
//组合模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class...

装饰模式

canca17年前 (2007-03-26)269
//装饰模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class DecoratorMode{ ...

享元模式

canca17年前 (2007-03-26)307
//享元模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class...

外观模式

canca17年前 (2007-03-26)294
//外观模式//CopyRight(C)CAnca Software Office. 2006//Created by CAnca. public class FacadeMode{ pub...