Delivery included to the United States

Java Generics and Collections

Java Generics and Collections Fundamentals and Recommended Practices

2nd edition

Paperback (01 Jul 2025)

Save $16.49

  • RRP $72.45
  • $55.96
Add to basket

Includes delivery to the United States

10+ copies available online - Usually dispatched within 7 days

Publisher's Synopsis

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

Book information

ISBN: 9781098136727
Publisher: O'Reilly Media
Imprint: O'Reilly
Pub date:
Edition: 2nd edition
Language: English
Number of pages: 300
Weight: 642g
Height: 176mm
Width: 233mm
Spine width: 23mm