期刊文献+

解析Java泛型的类型擦除

Analysis of Java Generic Type Erasure
下载PDF
导出
摘要 泛型是Java SE 1.5的新特性,从表面上看,无论语法还是应用的环境,泛型类型(或者泛型)都类似于C++中的模板,但实际上它们之间有着本质的区别,其本质区别就在于Java泛型的类型擦除,本文重点介绍Java泛型的类型擦除以解决泛型中常见的令人迷惑的和使人头疼的问题。 Generics are the new characteristics of Java SE 1.5.On the surface,whether grammar or application environment,generic types (or generics) are similar to the template in c++,but in fact they are different in essence,the essential difference which lies in Java is a generic type erasure.This paper introduces the Java generic type erasure to solve common confusing and make the person headache.
出处 《计算机光盘软件与应用》 2012年第1期148-148,150,共2页 Computer CD Software and Application
关键词 JAVA 泛型 类型擦除 Java Generics Type erasure
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部