Thursday, May 30, 2013

"Java Generics and Collections" by Maurice Naftalin and Philip Wadler : O'Reilly

This is one of the first books on the Java Generics and Collections libraries. The book in question is - Java Generics and Collections, by Maurice Naftalin and Philip Wadler from O'Reilly Media. I picked up this book to understand the usage of the new generic and collection libraries.

The book is divided into 2 parts. The first part covers the introduction to Generics: Subtyping and Wildcards; Comparison and Bounds; Declarations; Evolution, Not Revolution; Reification; Reflection; Effective Generics; and Design Patterns

The Second part is all about Collections. The topics covered are - Collections: The Main Interfaces of the Java Collections Framework; Preliminaries; The Collection Interface; Sets; Queues; Lists; Maps; and the Collections Class.

The book is good read for beginner to intermediate programmers who have been working with Java and now want to start using the Generics and collections. Code examples cover what is wrong with the older model and how the new libraries fix the problem.

Overall a must have book for any serious Java programmer.