Generics make your code more flexible and easier to read, and they help you avoid ClassCastExceptions at runtime. Get started with this introduction to using generics with the Java Collections ...
This article completes my introduction to new Java language features introduced in Project Coin, the JDK 7 language update. So far I have introduced try-with-resources, switch-on-string, multi-catch, ...
When writing a method, you can introduce as many generic parameters as you like which allows you to define relationships between them. I'd like to have this ability when defining a static member ...