«
^
»
11.2 Java 5 provides parameterized types
Java 5 permits the declaration of a
parameterized type
(also known as a
generic type
).
This is a class type or an interface type that is written in terms of some unspecified type.
Some of the Java 5 APIs have parameterized types.
In particular, the Collection classes have been rewritten so that they are parameterized types.