一种抽象泛型机制的新型Java实现  被引量:3

The Java-Based Novel Implementation for an Abstract Generic Mechanism Computer Engineering and Applications

在线阅读下载全文

作  者:田方[1] 石海鹤[1] 左正康[1] 王昌晶[1] 薛锦云[1] 

机构地区:[1]江西师范大学江西省高性能计算重点实验室,江西南昌330022

出  处:《江西师范大学学报(自然科学版)》2016年第1期77-82,共6页Journal of Jiangxi Normal University(Natural Science Edition)

基  金:国家自然科学基金(61272075;61363012;61363013;61462039);江西省自然科学基金(20142BAB217026)资助项目

摘  要:泛型程序设计可大幅度提高程序的可重用性、可靠性和开发效率,高抽象的泛型机制则有助于降低泛型编程的复杂度.该文介绍了一种抽象泛型机制的核心思想和编程技术,分析了新型Java中与之对应的实现机理,并归纳出相应的转换规则,且在既有平台中实现了抽象泛型程序到新型Java泛型程序的自动转换和运行,最后通过一个Kleen算法实例,展示了抽象泛型机制的实际运用和相应Java程序的自动生成.抽象泛型机制的新型Java实现,在降低可重用算法构件的设计复杂度、提高算法构件可靠性的同时,也为泛型构件的设计和描述提供了行之有效的新途径.Generic programming has emerged as a paradigm for the development of highly reusable and reliable software components,and highly abstract generic mechanism contributes to lowering the complexity of generic programming. Core ideas and programming techniques of an abstract generic mechanism are presented,corresponding Java mechanism is analyzed,and transformation rules between them are extracted,and further the automatic transformation from abstract generic program to Java program and Java program execution are implemented in our platform. Finally through a Kleen algorithm the real application of abstract generic mechanism and its Java program generation is illustrated. The novel implementation for this abstract generic mechanism based on Java reduces the design difficulty of algorithm component and improve its reliability,as well as gives an effective solution to the design and description of generic component.

关 键 词:抽象泛型机制 JAVA语言 可重用性 算法构件 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象