Simon Willison’s Weblog


Generics in java

9th December 2002

It looks like Java is set to get a new feature—Generics—in version 1.5. Generics are the Java equivalent of C++ templates; they severely help clear up confusions over types used with abstract data types such as lists and sets. Preparing for Generics explains this new feature and the kind of problems it solves.

This is Generics in java by Simon Willison, posted on 9th December 2002.

Next: Personal web proxies

Previous: Striking the 1976 act

Previously hosted at