Research on Java Generics
Lin Xiong
Abstract
Lin Xiong
Abstract
In February 2004,Sun released Java 2 SDK,Standard Edition Version 1.5.0 Beta 1,added generic versions allowing Abstract over types.Programmers simply define a method that accepts a variable number of arguments,then they can get benefits of type checking which simplifies program development.This article describes the basic concepts and the role of Java generics,introduces how to make use of Java generics in Java classes,Java interfaces,and Java methods,tells the difference between using Java generics programming and not using by examples.At the last,some problems which need pay attention to in the use of Java generics are summarized.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In February 2004,Sun released Java 2 SDK,Standard Edition Version 1.5.0 Beta 1,added generic versions allowing Abstract over types.Programmers simply define a method that accepts a variable number of arguments,then they can get benefits of type checking which simplifies program development.This article describes the basic concepts and the role of Java generics,introduces how to make use of Java generics in Java classes,Java interfaces,and Java methods,tells the difference between using Java generics programming and not using by examples.At the last,some problems which need pay attention to in the use of Java generics are summarized.
Key concepts: Java, Computer science, Generics in Java, Real time Java, Java annotation, strictfp, Programming language, Java Modeling Language