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

基于Java的泛型编程
引用本文:刁绫,陈磊.基于Java的泛型编程[J].数字社区&智能家居,2007,1(2):417.
作者姓名:刁绫  陈磊
作者单位:重庆大学,自动化学院,重庆,400044 重庆大学,计算机学院,重庆,400044
摘    要:泛型编程是面向对象的进一步发展,从更高的角度对世界进行抽象,为面向对象的不足之处提供了解决之道.它可让你重复运用既有的算法,而不必在环境类似的情况下再重新撰写相同代码,使得处理的问题更加抽象化,是一种优美而又不失效率的通用型程序设计方法.JDK 1.5中引入了对Java语言的多种扩展,泛型(generics)即其中之一.本文讨论JDK 1.5的泛型实现.

关 键 词:泛型编程  面向对象  抽象
文章编号:1009-3044(2007)02-10417-01
修稿时间:2006年11月5日

Generic Programming In Java
DIAO Ling,CHEN Lei.Generic Programming In Java[J].Digital Community & Smart Home,2007,1(2):417.
Authors:DIAO Ling  CHEN Lei
Affiliation:DIAO Ling1,CHEN Lei2
Abstract:Generic programming develops object oriented.It abstracts the world with a higher view,thus many problems in object oriented can be handled by it.It makes you use the ready ca1cu1ation again and again.It needn't write the same code once more under similar ci- rcumstances. But it deals with the problems more abstract.It's a kind of common program not only graceful but efficient.JDK1.5 introduces several extensions to the Java programming language. One of theseis the introduction of generics. This paper describes the implement of generic programming in JDK1.5.
Keywords:Generic programming  Object Oriented  Abstract
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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