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.
More recent articles
- Introducing gisthost.github.io - 1st January 2026
- 2025: The year in LLMs - 31st December 2025
- How Rob Pike got spammed with an AI slop "act of kindness" - 26th December 2025