
Автор: Maurice Naftalin, Philip Wadler
Издательство: O'Reilly Media, Inc.
Год: 2025-03-13
Страниц: 371
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
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 book is intended for everyone who knows something about Java, and would like to find out more. It’s not a Java tutorial, so we assume knowledge of basic Java concepts like classes, static and instance methods, and so on. We use the syntax of Java 21, but most syntax features associated specifically with generics are explained in the text.