Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
Java Concurrency in Practice

Java Concurrency in Practice
by Brian Goetz; Tim Peierls; Joshua Bloch; Joseph Bowbeer; David Holmes; Doug Lea

Java Threads, 3rd Edition

Java Threads, 3rd Edition
by Scott Oaks; Henry Wong

Java™ I/O, 2nd Edition

Java™ I/O, 2nd Edition
by Elliotte Rusty Harold

Top Sellers in this Category

Head First Java, 2nd Edition

Head First Java, 2nd Edition
by Kathy Sierra; Bert Bates

Head First Design Patterns

Head First Design Patterns
by Eric Freeman; Elisabeth Robson; Kathy Sierra; Bert Bates

Java Concurrency in Practice

Java Concurrency in Practice
by Brian Goetz; Tim Peierls; Joshua Bloch; Joseph Bowbeer; David Holmes; Doug Lea

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 everything from the most basic uses of generics to the strangest corner cases. It teaches you everything you need to know about the collections libraries, so you'll always know which collection is appropriate for any given task, and how to use it.

Topics covered include:

  • Fundamentals of generics: type parameters and generic methods

  • Other new features: boxing and unboxing, foreach loops, varargs

  • Subtyping and wildcards

  • Evolution not revolution: generic libraries with legacy clients and generic clients with legacy libraries

  • Generics and reflection

  • Design patterns for generics

  • Sets, Queues, Lists, Maps, and their implementations

  • Concurrent programming and thread safety with collections

  • Performance implications of different collections

Generics and the new collection libraries they inspired take Java to a new level. If you want to take your software development practice to a new level, this book is essential reading.

Philip Wadler is Professor of Theoretical Computer Science at the University of Edinburgh, where his research focuses on the design of programming languages. He is a co-designer of GJ, work that became the basis for generics in Sun's Java 5.0.

Maurice Naftalin is Technical Director at Morningside Light Ltd., a software consultancy in the United Kingdom. He has most recently served as an architect and mentor at NSB Retail Systems plc, and as the leader of the client development team of a major UK government social service system.

"A brilliant exposition of generics. By far the best book on the topic, it provides a crystal clear tutorial that starts with the basics and ends leaving the reader with a deep understanding of both the use and design of generics." Gilad Bracha, Java Generics Lead, Sun Microsystems

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 4.5 out of 5 rating Based on 24 Ratings

Explains the inexplicable - 2008-10-17
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
There are some difficult issues with Java Generics. This book does an excellent job explaining them. It also provides a good guide when to use generics, its limitations, and the new limitations that it introduces for arrays.

Not worth the price of purchase - 2009-11-29
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a very basic introduction to the Java Collections Framework and simple use of generics. Emphasis on *simple*. If you're never used any sort of generics or templates before, this will get you started, but it's not the place to go to understand how to write generics use use type constraints and wildcards properly. Angelika Langer's Java Generics FAQs is much more useful in that regard.

Concise and useful. - 2009-08-14
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is very useful.

It is in fact, ridiculously concise. It may seem like a flimsy little workbook, but somehow a ton of information is fit in it. Generally I can read about ~40 pages per hour, but on this I can barely get a third of that done, so don't be fooled by it's size.

It does start off assuming you have a general background knowledge, so don't attempt it until you do.

Some good information - 2009-05-13
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
While the author spends too much time on what he thinks Java should be and what Sun needs to do to fix it, there is a lot of good and useful data to be had from the text.

Complete and precise in contents, somewhat confusing in presentation - 2008-12-18
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
You will find everything you need to know in this thorough book. But be prepared the most advanced chapters are right at the beginning: A tough start easing off to light reading at the end.

Some concepts are explained in a counter intuitive way: A new concept is explained and within a few sentences the point of view is reversed.
This book helped me to reduce some of my @SuppressWarnings("unchecked") annotations.

The overview of the collection classes themselves is excellent and described very clearly.

Browse Similar Topics

Top Level Categories:
Programming

Sub-Categories:
Programming > Java

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2010 Safari Books Online. All rights reserved.