首页 | 本学科首页   官方微博 | 高级检索  
     

泛型编程与JAVA实现
引用本文:徐文胜. 泛型编程与JAVA实现[J]. 江西师范大学学报(自然科学版), 2007, 31(5): 471-474
作者姓名:徐文胜
作者单位:江西师范大学,计算机信息工程学院,江西,南昌,330027
摘    要:该文对泛型编程的核心思想和技术特征进行了较为深入的分析,介绍了泛型编程在语言实现上的现状与不足,着重论述了作者针对这些不足做出的改进工作,即对类型参数及其约束机制进行扩展以支持通用、高效的算法和数据结构的设计,并以JAVA语言作为实施例,详细介绍了如何通过现有对象技术来实现比较完整的泛型编程,是现有面向对象语言类泛型编程的首例.

关 键 词:泛型编程  面向对象语言  类型参数  约束机制
文章编号:1000-5862(2007)05-0471-04
收稿时间:2007-05-23
修稿时间:2007-05-23

Generic Programming and Its Implementation in Java
XU Wen-sheng. Generic Programming and Its Implementation in Java[J]. Journal of Jiangxi Normal University (Natural Sciences Edition), 2007, 31(5): 471-474
Authors:XU Wen-sheng
Abstract:A thorough and in-depth analysis of the underlying idea and technological characteristics of generic programming is presented,elaborating its development and weakness with respect to language supporting.With the emphasis on the significant work to compensate an insufficiency of type parameter and its constraint in language,aiming at more general and efficient algorithm and data structure,the paper provides an extension to generic programming mechanism and details the implementation in Java,which is the first example to support the extension for generic programming in the family of OO languages.
Keywords:generic programming  object-oriented language  type parameter  constraint mechanism
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号