Preview "Java Generics and Collections (2nd ed.)" in a new window.

Java Generics and Collections (2nd ed.)

Book Description

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 methodsSubtyping and wildcardsGenerics and reflectionDesign patterns for genericsSets, queues, lists, maps, and their implementationsConcurrent programming and thread safety with collectionsPerformance of different collection implementationsBest practices for using and extending the Java collections frameworkDesign philosophy and comparison with other collections libraries


In The Press


About the Author


Read on Your Favourite Devices

to find out more



Ebook Permissions

to find out more

About this Ebook

File formats
This ebook is available in:
The publisher has not yet supplied format information.
Pre-order formats shown are based on publisher intent and may change before release.
File sizes shown are an approximation. The actual download size will vary based on the application you use to read the book.
Publisher
Published
; Copyright:
ISBNs
Title
Series
Author
;
Edition
Imprint
Language
Number of Pages
Page count shown is an approximation provided by the publisher. The actual page count will vary based on various factors such as your device's screen size and font-size.