Skip to product information
1 of 1

O'Reilly Media

Java Generics and Collections: Fundamentals and Recommended Practices

Java Generics and Collections: Fundamentals and Recommended Practices

Regular price $65.99
Regular price Sale price $65.99
Sale Sold out

Java Generics and Collections has been the go-to guide to generics for more than a decade. This second edition covers Java 21, providing a clear guide to generics from their most common uses to the strangest corner cases, giving you everything you need to know to use and write generic APIs effectively. It covers the collections library thoroughly, so you'll always know how and when to use each collection for any given task. And it explains stream processing, so you'll know which model to use and how they interoperate to get the best out of the platform library.

This indispensable guide covers:

  • Fundamentals of generics: type parameters and generic methods
  • Subtyping and wildcards
  • Generics and reflection
  • Design patterns for generics
  • Sets, queues, lists, maps, and their implementations
  • Concurrent programming and thread safety with collections
  • Performance of different collection implementations
  • Best practices for using and extending the Java collections framework
  • Design philosophy and comparison with other collections libraries


Author: Maurice Naftalin, Philip Wadler
Binding Type: Paperback
Publisher: O'Reilly Media
Published: 07/22/2025
Pages: 368
Weight: 1.29lbs
Size: 9.19h x 7.00w x 0.76d
ISBN: 9781098136727
2nd Edition
View full details

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)