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

对Java中泛型的研究与探讨
引用本文:武俊琢,朱琳.对Java中泛型的研究与探讨[J].数字社区&智能家居,2007,1(6):1612-1614.
作者姓名:武俊琢  朱琳
作者单位:河南经贸职业学院 河南郑州450053
摘    要:本文阐述了Java中泛型的概念和特点,介绍了简单泛型创建和使用,探讨了泛型应用中存在的陷井。泛型最重要的特点是类型安全,泛型还可以消除类型转换等。泛型的创建和使用比较简单,但在使用中存在一定的陷阱,需要引起程序员的注意。

关 键 词:泛型  类型安全  类型通配符
文章编号:1009-3044(2007)06-11612-03
修稿时间:2007年3月5日

The Research and Exploration of Generics in Java
WU Jun-zhuo,ZHU Lin.The Research and Exploration of Generics in Java[J].Digital Community & Smart Home,2007,1(6):1612-1614.
Authors:WU Jun-zhuo  ZHU Lin
Abstract:The thesis expounded the concept and characteristics of generics in the Java. It introduced the method for creating and using the generics in brief. It also examined the traps of generics in application. The most important characteristics of generics is type safe. Generics can also cancel the converting of type. The creating and using of generics is simple, but there are many traps to using it. It should draw the attention of programmer.
Keywords:Generics  Type Safe  Wildcard
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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