(一) 什么是设计模式 设计模式,即Design Patterns,是指在软件设计中,被反复使用的一种代码设计经验。使用设计模式的目的是为了可重用代码,提高代码的可扩展性和可维护性 1995年,GoF(Gang of Four,四人组/四人帮)合作出版了《设计模式:可复用面向对象软 件的基础》一书,收录了23种设计模式,从此树立了软件设计模式...
原作名: Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process出版年: 2006-1页数: 703定价: 75.00元装帧: Hardcover丛书: 经典原版书库ISBN: 9787111178415豆瓣评分 9.2 35人评价 5星 65.7% 4星 20.0% 3星 8.6% 2星 5.7% 1星 0.0% ...
AI代码解释 //方式3,通过setter方法传递interfaceIOpenAndClose{voidopen();//抽象方法voidsetTv(ITVtv);}//ITV接口interfaceITV{voidplay();}//实现接口classOpenAndCloseimplementsIOpenAndClose{privateITVtv;publicvoidsetTv(ITVtv){this.tv=tv;}publicvoidopen(){this.tv.play();}} 1.4 里氏替换原则 在使...
原作名:Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development 译者:李洋/郑䶮 出版年:2006-5 页数:500 定价:66.00元 装帧:平装 ISBN:9787111186823 豆瓣评分 8.2 414人评价 5星 39.4% 4星 37.2% ...
本章所有图形使用Enterprise Architect 9.2来画,所有示例详见根目录下的design_patterns.EAP 从一个示例开始 请看以下这个类图,类之间的关系是我们需要关注的: 车的类图结构为<<abstract>>,表示车是一个抽象类; 它有两个继承类:小汽车和自行车;它们之间的关系为实现关系,使用带空心箭头的虚线表示; ...
Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition 【美】CRAIG LARMAN 著 李洋 郑龑 等译 ISBN:7-111-18682-6 本书纸版由机械工业出版社于2006年出版,电子版由华章分社(北京华章图文信息有限公司,北京奥维博世图书发行有限公司)在中华人...
Using the UML to Describe Design PatternsDiane Strode
PredictiveandAdaptivePlanning.(预见性计划制订与适应性计划制订) 23 AgileProcesses.(敏捷过程) 24 RationalUnifiedProcess.(Rational统一过程) 25 FittingaProcesstoaProject.(过程适配项目) 26 FittingtheUMLintoaprocess.(UML适配过程) 29 RequirementsAnalysis(需求分析) 29 Design(设计) 30 Documentation(...
Object Oriented Training in UML, Java, C++, Design Patterns, J2EE, and Business Process Modeling. On-site, Public Classes, and Distant Learning are available for all OO training topics.