Java Generics

Authors

  • Ana Laura KOKETSU Faculdade Politécnica de Campinas
  • Peter JANDL JR Faculdade de Jaguariúna

Keywords:

Java, generics

Abstract

The generic types was the most sophisticated newness of the Java 5 language and one of the biggest incentives for migration to the new version. The use of generic types came to facilitate the life of the programmer, it is among the most powerful capabilities for software reuse in safety-type in real time. The generic type have a static system of verification of types, made to find errors as illegal conversions or called of inexistent methods in a object compilation time. Avoiding a barely visible piece of code will cause undesirable behavior.

Published

2010-04-01