Goodreads helps you keep track of books you want to read.
Start by marking “Java Generics and Collections” as Want to Read:
Java Generics and Collections
Enlarge cover
Rate this book
Clear rating
Open Preview

Java Generics and Collections

3.89  ·  Rating Details ·  167 Ratings  ·  17 Reviews
This comprehensive guide shows you how to master the most important changes to Java since it was first released. Generics and the greatly expanded collection libraries have tremendously increased the power of Java 5 and Java 6. But they have also confused many developers who haven't known how to take advantage of these new features.

Java Generics and Collections covers ever
...more
Paperback, 286 pages
Published October 24th 2006 by O'Reilly Media (first published 2006)
More Details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Java Generics and Collections, please sign up.

Be the first to ask a question about Java Generics and Collections

Effective Java Programming Language Guide by Joshua BlochThinking in Java by Bruce EckelJava Concurrency in Practice by Brian GoetzJava Cookbook by Ian F. DarwinJava in a Nutshell by David Flanagan
JAVA
18th out of 19 books — 9 voters


More lists with this book...

Community Reviews

(showing 1-30 of 482)
filter  |  sort: default (?)  |  Rating Details
Jeanne Boyarsky
May 15, 2011 Jeanne Boyarsky rated it liked it
Shelves: technology
My first thought on seeing the title “Java Generics and Collections” was wondering how there could be a whole book's worth of material on the topic. There is!

The first half of the book addresses generics. It includes concepts like reification (I learned a new word) that helps you better understand how generics actually work. It also includes a number of idioms for dealing with generics that you might not know even if you use generics.

The rest of the book covers the Collection API including how
...more
Amit Sahoo
Jul 17, 2016 Amit Sahoo rated it really liked it
Shelves: java-enthusiast
Coverage is good.I would have liked application context oriented examples instead of numbers,double etc.Recommended to be read by Beginners.
Linda
Mar 16, 2010 Linda rated it really liked it
This is a pretty good description of Java Generics and how they differ from similar implementations in other languages. It also spends half the book going into detail on the Java Collection classes and how they make heavy use of generics to be much more useful.

I didn't expect to learn much from this and I was surprised how much useful info it contained. It's dry reading, particularly the second half of the book, but definitely useful for the Java programmer.
Christian
Feb 17, 2009 Christian rated it it was ok
This book was lame - I forgot why, but it definitely was lame.
Matt
Oct 23, 2007 Matt rated it liked it
Recommends it for: new ArrayList<JavaProgrammers>
Shelves: geekreads
Okay, I straddle two worlds. In one life, I labor through complex, terse, and often obscure works of philosophy. In the other, I blissfully bang out thousands of lines of code in my happy little IDE -- the famous editor VI (that's pronounced "Six" -- it's roman numerals. No really. I'm not making fun of your ignorance... I swear).

One thing I have noticed is that academic writing often forgoes altogether any concern for the readability of the text. Another is the noted absence of any examples or
...more
LOL_BOOKS
WHAT HAVE YOU BEEN READING, MEMERS?

JAVA GENERICS AND COLLECTIONS. AREN'T YOU JEALOUS OF ME? I BET YOU'RE JEALOUS OF ME.

SOUNDS RIVETING! ARE YOU FINDING IT ACTUALFAX HALPFUL?

I'M LEARNING STUFF FROM IT. HOW USEFUL IT'S GONNA BE TO ME IS STILL UP FOR DEBATE.
Michael Koltsov
Sep 01, 2014 Michael Koltsov rated it it was amazing
Finally, i've read this book! I have a point that i should finish every book that i've started to read. This book was an exception, because i wasn't able to finish it for a few years. I had all sorts of execuses not to read this book, some of them were a lack of time and a complete disinterest in the subject of this book.

I was wrong, the book is interesting. It's a sort of holy grail for those who want to know how generics work under the hood and where to apply them. As for me i was interested i
...more
Prakash
Sep 02, 2015 Prakash rated it liked it
Shelves: coding
I read the collection API part. It is not as good a book and in-depth implementation details of API's is missing.
Narendra Pathai
Oct 30, 2014 Narendra Pathai rated it really liked it
Shelves: development
Great book that goes in depth of Java Generics which feels awkward initially to someone coming from other languages.
Burak Dede
Dec 15, 2014 Burak Dede rated it really liked it
We all know that java generics is a hard to swallow topic but this book makes it easy to understand decisions behind the generics and gives some best practices. In order to give sense of generics book follows collections framework and detailed information about collection interfaces and methods. Nicely structured and easy to follow with bonus of being thin book.
Colin Jones
Aug 21, 2011 Colin Jones rated it really liked it
Type systems kind of blow my mind, in particular things like bounded types and co-/contravariance Feels like 2 totally separate books, and the collections section was fairly dry. The first half, on generics, helped to make things clearer - will probably need a second read to solidify.
Laurent
Jan 31, 2016 Laurent added it
Shelves: java
A must read on Generics... with Neil Gafter's blog and Angelika Langer's FAQ (even though they are sometimes hard to find, there are some true gems like the entry on how to instantiate a wildcard parameterized type despite the compiler's best efforts to prevent it).
Spencer
Apr 25, 2011 Spencer rated it really liked it
Shelves: technical
I was concerned that this book would be tedious on such a narrow subject. The authors delivered the information directly and clearly. This was enough to keep everything interesting.
Eric Kaun
Apr 21, 2011 Eric Kaun rated it liked it
Strangely boring, given that I've enjoyed Wadler's writings on Haskell. Some very good sections (the first 100 pages); some incredibly boring ones (most of the Collections discussion).
Marius A
May 15, 2015 Marius A rated it really liked it
An interesting and succinct book which focuses on generics and collections, clearing many things regarding them. Probably a second read would be needed.
David Ahlbeck
Oct 05, 2013 David Ahlbeck rated it really liked it
Quite heavy going at times but does cover most topics on generics and collections you could possibly need.
V
Mar 20, 2013 V is currently reading it
Reflection, do, weak map
Alex
Alex marked it as to-read
Oct 04, 2016
Rajat
Rajat marked it as to-read
Oct 04, 2016
Fehri Trabelsi II
Fehri Trabelsi II marked it as to-read
Oct 02, 2016
H1c1
H1c1 marked it as to-read
Oct 02, 2016
Thuy
Thuy rated it it was amazing
Oct 02, 2016
Marko Kivijärvi
Marko Kivijärvi marked it as to-read
Sep 30, 2016
Ruslan
Ruslan rated it it was amazing
Sep 30, 2016
Siofra
Siofra rated it really liked it
Sep 26, 2016
BookDB
BookDB marked it as to-read
Sep 26, 2016
Tristan Hetland
Tristan Hetland marked it as to-read
Sep 25, 2016
Ivo Hrádek
Ivo Hrádek marked it as to-read
Sep 16, 2016
Patty Baskin
Patty Baskin rated it liked it
Sep 09, 2016
Stijn
Stijn marked it as to-read
Sep 01, 2016
« previous 1 3 4 5 6 7 8 9 16 17 next »
There are no discussion topics on this book yet. Be the first to start one »
  • Java Performance
  • Java Concurrency in Practice
  • Java Puzzlers: Traps, Pitfalls, and Corner Cases
  • Spring in Action
  • Thinking in Java
  • Code Reading: Open Source Perspective
  • Core Java, Volume II--Advanced Features
  • Groovy in Action
  • Java 8 Lambdas: Pragmatic Functional Programming
  • Dependency Injection
  • Camel in Action
  • Programming in Scala
  • Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions
  • The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming
  • Concurrent Programming in Java: Design Principles and Pattern
  • Functional Programming for Java Developers: Tools for Better Concurrency, Abstraction, and Agility
  • Real World Haskell: Code You Can Believe In
  • Grails in Action

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »

Share This Book



“The Substitution Principle tells us that wherever a value of one type is expected, one may provide a value of any subtype of that type:” 0 likes
More quotes…