当前位置:首页 > canca 第57页
canca

canca 管理员

暂无介绍

892 篇文章 0 次评论

观察者模式

canca19年前 (2007-03-26)475
//观察者模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class ObserverMode{ public static void main(String…

访问者模式

canca19年前 (2007-03-26)515
//访问者模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class VisitorMode{ public static void main(String[…

迭代器模式

canca19年前 (2007-03-26)533
//迭代器模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class IteratorMode{ public static void main(String…

策略模式

canca19年前 (2007-03-26)523
//策略模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class StrategyMode{ public static void main(String[] args){  …

备忘录模式

canca19年前 (2007-03-26)453
//备忘录模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class MementoMode{ public static void main(String[] args){  …

组合模式

canca19年前 (2007-03-26)507
//组合模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class ComponantMode{ public static void main(String…

装饰模式

canca19年前 (2007-03-26)459
//装饰模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. public class DecoratorMode{ public static void main(String[] args){  …

享元模式

canca19年前 (2007-03-26)556
//享元模式//CopyRight(C) CAnca software Office.2006//Created by CAnca. import java.util.*; public class ShareMode{ public static void main(String[] a…

外观模式

canca19年前 (2007-03-26)518
//外观模式//CopyRight(C)CAnca Software Office. 2006//Created by CAnca. public class FacadeMode{ public static void main(String[] args){  Fa…

适配器模式

canca19年前 (2007-03-26)487
//适配器模式//CopyRight(C)CAnca Software Office.//Created by CAnca. public class AdapterMode{ public static void main(String[] args){  Adapt…

桥接模式

canca19年前 (2007-03-26)468
//桥接模式//CopyRight(C) CAnca Software Office 2006.//Created by CAnca. import java.util.*; public class BridgeMode{ public static void main(String[]…

代理模式

canca19年前 (2007-03-26)501
//代理模式--真实例子//CopyRight(C)CAnca Software Office.2006//Created by CAnca.   public class ProxyMode_RealWorld{     public static void…

原型模式

canca19年前 (2007-03-26)529
//原型模式//CopyRight(C) CAnca Software Office.2006//Created by CAnca. public class PrototypeMode{ public static void main(String[] args){  …

建造者模式

canca19年前 (2007-03-26)515
//建造者模式//CopyRight(C)CAnca Software Office.//Created by CAnca. import java.util.*; public class BuilderMode{ public static void main(String[] arg…

工厂方法模式

canca19年前 (2007-03-26)473
//工厂方法模式:现实例子//CopyRight(C)CAnca Software Office. 2006//Created by CAnca. import java.util.*; public class Real_World_Example{ public static void…