Essential Java Generics

Anders Janmyr

Once you get past simple usage of Java Generics and start implementing generic classes yourself it may seem quite intimidating. It is tricky, so it is important to remember a few rules. Subtyping The Liskov Substitution Principle, the rule that says that subclasses should be substitutable for their base classes, does not apply to generic [...]

Tags: , ,