JDK for Solaris Developer's Guide

Generics

This long-awaited enhancement to the type system allows a type or method to operate on objects of various types while providing compile-time type safety. It adds compile-time type safety to the Collections Framework and eliminates the drudgery of casting. Refer to JSR 14 and to the generics documentation at http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html.