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
'Java Generics and Collections' by Maurice Naftalin in a fantastic book focussed on this interesting topic of generics and collections with Java as the main language to explore these programming concepts. At nearly 300 pages in length, this book has plenty of meat and content within. I love the new font look in this O'Reilly book and was impressed all throughout while perusing this book. 15 chapters of content are seen...
0Report
Do you wish to process lists? If you do, then this book is for you. Authors Maurice Naftalin and Philip Wadler, have done an outstanding job of writing a book that shows you how to master the most important changes to Java since it was first released. Naftalin and Wadler, begin with an overview of generics and other new features in Java 5. Then, the authors review how subtyping works and explain how wildcards let you use...
0Report
This is one of the most in-depth books on the Java topics of generics and collections... Java Generics and Collections, by Maurice Naftalin and Philip Wadler. It covers the gamut from the basics to advanced... Contents: Part 1 - Generics: Introduction; Subtyping and Wildcards; Comparison and Bounds; Declarations; Evolution, Not Revolution; Reification; Reflection; Effective Generics; Design Patterns Part 2 - Collections:...
0Report
Java's had many changes since its initial release and programmers would find it easy to fall behind on all these new collection libraries, so Java Generics and Collections is an essential tool for any programmer working in Java lready, who would keep up with the design and nature of generics. From parameter basics and new features to using wildcards, generic libraries and understanding performance implications of their different...
0Report
The intent of Generics is make your Java code type-safer. While Java is a strongly typed language, it lacks type-safety when it comes to using collections. Generics were added to the Java programming language in 2004 as part of J2SE 5.0. Unlike C++ templates, generic Java code generates only one compiled version of a generic class. Generic Java classes can only use object types as type parameters -- primitive types are not...
0Report