检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华东理工大学计算机科学与技术系,上海200237
出 处:《计算机应用与软件》2004年第1期20-21,82,共3页Computer Applications and Software
摘 要:为了使程序具有一个良好、灵活的结构 ,充分的可扩展性和代码的可重用性 ,设计模式在面向对象程序设计中的应用具有重要的意义和作用。本文以策略模式在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.
关 键 词:面向对象 程序设计 体系结构 策略模式 JAVA语言 类库
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7