详细信息
文献类型:期刊文献
中文题名:JAVA类库中的策略模式
英文题名:STRATEGY PATTERN IN JAVA CLASS LIBRARY
作者:杨年华[1];张礼平[1]
机构:[1]华东理工大学计算机科学与技术系,上海200237
年份:2004
卷号:21
期号:1
起止页码:20
中文期刊名:计算机应用与软件
外文期刊名:Computer Applications and Software
收录:CSTPCD;;北大核心:【北大核心2000】;CSCD:【CSCD_E2011_2012】;
语种:中文
中文关键词:面向对象;程序设计;体系结构;策略模式;Java语言;类库
外文关键词:Design pattern Strategy pattern Reuse technology
摘要:为了使程序具有一个良好、灵活的结构 ,充分的可扩展性和代码的可重用性 ,设计模式在面向对象程序设计中的应用具有重要的意义和作用。本文以策略模式在JAVA类库中的应用为例 ,具体介绍策略模式问题的产生、解决和效果。
Design pattern in very important and useful in OO program design to get fine and flexible structure,satisfying extensibility and code reusing.This paper describes the problem from which the strategy pattern originated,the solution of the problem and the effect of the solution by analyzing the case which uses strategy pattern in JAVA class library.Finally,it gives an example and analyses the advantages in software extensibility and code reusing as a result of using strategy pattern in software design.
参考文献:
正在载入数据...
