Java 2中的adapter模式
日期:2007年5月3日 作者: 查看:[大字体 中字体 小字体]-
//[C] 2002 Sun Microsystems, Inc.---
public class RunAdapterPattern {
public static void main(String [] arguments){
System.out.println("Example for the Adapter pattern");
System.out.println();
System.out.println("This example will demonstrate the Adapter by using the");
System.out.println(" class ContactAdapter to translate from classes written");
System.out.println(" in a foreign language (Chovnatlh and ChovnatlhImpl),");
System.out.println(" enabling their code to satisfy the Contact interface.");
System.out.println();
System.out.println("Creating a new ContactAdapter. This will, by extension,");
System.out.println(" create an instance of ChovnatlhImpl which will provide"); - [1] [2] [3] [4] [5] [6] 下一页
-
- Java 2中的adapter模式 相关文章:
- ·Java 2中的adapter模式
- Java 2中的adapter模式 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
上一篇:Google地图的应用开发分析
下一篇:软件保护之为应用软件加上时间限制
精品推荐
热点TOP10
- ·BPEL模型基础
- ·Fedora 8下Apache配置与管理
- ·兵之利器 软件开发辅助工具纵览
- ·多核时代对并发程序设计的探索
- ·Enterprise Web 2.0--SOA的最后一英里
- ·BPEL的基本活动介绍
- ·DB2数据库归档日志的管理方案
- ·Web开发时碰到的问题以及心得经验
- ·基于Struts技术的Web层应用设计和实现
- ·四种网络游戏外挂的设计方法
- ·对一个加锁的表进行解锁
- ·开发WDM型的USB设备驱动程序
- ·软件架构设计的三个维度
- ·什么叫面向接口编程
- ·RPG游戏引擎的设计原理
- ·6.1.2 数据仓库的概念
- ·6.1.1 数据仓库的产生
- ·6.1 数据仓库概论
- ·5.1 Web服务概述
- ·3.7 面向对象编程的基本概念
