| 本文已被:浏览 3876次 下载 5144次 |
 码上扫一扫! |
|
|
| 一种基于衍生类的动态类修改方法 |
|
陆 陪1,2, 于大川1,2, 吕 建1,2
|
|
1.南京大学计算机软件新技术国家重点实验室,南京,210093;2.南京大学计算机软件研究所,南京,210093
|
|
| 摘要: |
| 在面向对象语言的动态程序设计环境中,动态修改一个类时,会导致该类已经存在的那些活动对象难以处理的情况.本文提出了一种基于衍生类来实现类的动态修改的方法,并与其它方法进行了比较. |
| 关键词: 原型速成,面向对象,动态程序设计环境,动态修改,衍生类,源类. |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到国家杰出青年科学基金、跨世纪优秀人才计划基金和国家攀登计划基金资助. |
|
| A Method for Modifying Dynamically Classes Based on Cloned Classes |
|
LU Pei,YU Da-chuan,Lü Jian
|
| Abstract: |
| In the object-oriented dynamic programming environment, dynamic modification of a class will cause a problem that active objects of the class are difficult to handle. In this paper, a method for modifying dynamically classes based on cloned classes is proposed, and the comparison with other methods is given. |
| Key words: Rapid prototyping, object-oriented, dynamic programming environment, dynamic modification, cloned class, source class. |