Java Generics And Collections: Speed Up The Java Development Process by Maurice NaftalinJava Generics And Collections: Speed Up The Java Development Process by Maurice Naftalin

Java Generics And Collections: Speed Up The Java Development Process

byMaurice Naftalin, Philip Wadler

Paperback | October 27, 2006

Pricing and Purchase Info

$37.99 online 
$45.50 list price save 16%
Earn 190 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


This comprehensive guide shows you how to master the most importantchanges to Java since it was first released. Generics and the greatlyexpanded collection libraries have tremendously increased the power ofJava 5 and Java 6. But they have also confused many developers whohaven't known how to take advantage of these new features.

Java Generics and Collectionscovers everything from the mostbasic uses of generics to the strangest corner cases. It teaches youeverything you need to know about the collections libraries, so you'llalways know which collection is appropriate for any given task, andhow 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 andgeneric 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 anew level. If you want to take your software development practice toa new level, this book is essential reading.

Philip Wadleris Professor of Theoretical Computer Science at theUniversity of Edinburgh, where his research focuses on the design ofprogramming languages. He is a co-designer of GJ, work thatbecame the basis for generics in Sun's Java 5.0.

Maurice Naftalinis 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 thetopic, it provides a crystal clear tutorial that starts with thebasics and ends leaving the reader with a deep understanding of boththe use and design of generics."
Gilad Bracha, Java Generics Lead, Sun Microsystems

Maurice Naftalin is Director of Software Development at Morningside Light Ltd., a software consultancy in the United Kingdom. Maurice consults mainly in object-oriented technologies and teaches Java classes part-time at Learning Tree. He has three decades' experience as a programmer, team leader, and commercial trainer.Philip Wadler is...
Title:Java Generics And Collections: Speed Up The Java Development ProcessFormat:PaperbackDimensions:286 pages, 9.19 × 7 × 0.7 inPublished:October 27, 2006Publisher:O'Reilly MediaLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0596527756

ISBN - 13:9780596527754

Look for similar items by category:


Table of Contents

  • Preface
  • Part I: Generics
    • Chapter 1: Introduction
    • Chapter 2: Subtyping and Wildcards
    • Chapter 3: Comparison and Bounds
    • Chapter 4: Declarations
    • Chapter 5: Evolution, Not Revolution
    • Chapter 6: Reification
    • Chapter 7: Reflection
    • Chapter 8: Effective Generics
    • Chapter 9: Design Patterns
  • Part II: Collections
    • Chapter 10: The Main Interfaces of the Java Collections Framework
    • Chapter 11: Preliminaries
    • Chapter 12: The Collection Interface
    • Chapter 13: Sets
    • Chapter 14: Queues
    • Chapter 15: Lists
    • Chapter 16: Maps
    • Chapter 17: The Collections Class
  • Colophon