Home » Programming » JAVA Tutorial

Generics in the Java Programming Language Topic:  JAVA Tutorial
Download (147) times
Last Download at Wednesday 11th of January 2012 10:50:03 AM

Generics in the Java Programming Language

You maybe familiar with similar constructs from other languages, most notably C++templates. If so, you'llsoon see that there are both similarities and important differences. If you are not familiar with look-a-alike constructs from elsewhere, all the better; you can start afresh, without unlearning any misconceptions. Generics allow ...

JDK1.5 introduces several extensions to the Java programming language. One of these is the introduction of generics . This tutorial is aimed at introducing you to generics. You maybe familiar with similar constructs from other languages, most notably C++templates. If so, you'llsoon see that there are both similarities and important differences. If you are not familiar with look-a-alike constructs from elsewhere, all the better; you can start afresh, without unlearning any misconceptions.

Defining Simple Generics 3 3 Generics and Subtyping 4 4 Wildcards 5 41 BoundedWildcards 6 5 Generic Methods 7 6 Interoperating with Legacy Code 10 61 UsingLegacy Code in Generic Code 10 62 Erasureand Translation 12 63 UsingGeneric Codein Legacy Code 13 7 The FinePrint 14 71 AGenericClassis Shared by all its Invocations 14 72 CastsandInstanceOf 14 73 Arrays 15 8 Class Literals as Run-time Type Tokens 16 9 More FunwithWildcards 18 91 WildcardCapture 20 10 Converting Legacy Code to Use Generics...
Source: java.sun.com

Download File Read PDF Online

Comments for Generics in the Java Programming Language


Related PDF Files

Tutorial for Spring DAO with JDBC

This tutorial demonstrates how to work with data access objects in the spring framework. I

Introduction to Java threads

This tutorial is for Java programmers who have a good working knowledge of the Java. langu

Eclipse Java IDE - Tutorial

Eclipse Java IDE - Tutorial This article describes the usage of Eclipse as a Java IDE. It

The Spring Framework

Spring Application Framework Spring is an open source, lightweight, application framework

Iterating in Java: MATLAB and Python to Java Tutorial

Iterating in Java: MATLAB and Python to Java Tutorial Iterating in Java: MATLAB and Python

Incoming Search: