.NET泛型技术的研究与分析 |
| |
引用本文: | 李凯凯,闵联营..NET泛型技术的研究与分析[J].武汉水运工程学院学报,2012(4):825-828,832. |
| |
作者姓名: | 李凯凯 闵联营 |
| |
作者单位: | 武汉理工大学计算机科学与技术学院,武汉430063 |
| |
基金项目: | 湖北省科技攻关项目资助(批准号:2005AAl01C08) |
| |
摘 要: | 介绍了.NET泛型机制的性能、安全和重用性,分析了泛型在类、方法、结构、接口、委托上的应用及其注意事项,并研究了泛型约束与继承这两项重要技术在泛型上的具体实现;将.NET泛型与C++模板、Java泛型进行了对比分析;对.NET泛型技术进行了总结,展望了泛型在.NET开发中的应用前景.
|
关 键 词: | .NET 泛型 约束 C++模板 Java泛型 |
Research and Analysis of the . NET Generics Technique |
| |
Authors: | LI Kaikai MIN Lianying |
| |
Institution: | (College of Computer Science and technology, WHUT, Wuhan 430063, China) |
| |
Abstract: | This paper is mainly focus on the performance, safety and reusability of generics~ it also in-troduced the using of generics in class, method, strut, interface and delegate, along with the imple-ment of constraints and inherits. Then we compared the . NET generics with C~-~- template and Java generics. At last we summarized . NET generics, and came up with a prospect of its application in NET programming |
| |
Keywords: | NET generics constraints C+ + template Java generics |
本文献已被 维普 等数据库收录! |
|