Chapter 13. Generic Programming
Generics constitute the most significant change in the Java programming language since the 1.0 release. The addition of generics to JDK 5.0 is the result of one of the first Java Specification Requests, JSR 14, that was formulated in 1999. The expert group spent about five years on specifications and test implementations.
Generics are desirable because they let you write code that is safer and easier to read than code that is littered with Object
variables and casts. Generics are particularly ...
Get Core Java™ 2 Volume I - Fundamentals, Seventh Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.