Java Generics and Collections: Fundamentals and Recommended Practices, 2nd Edition

Java Generics and Collections: Fundamentals and Recommended Practices

Java Generics and Collections: Fundamentals and Recommended Practices

Author:Maurice Naftalin (Author), Philip Wadler (Author)

Publisher finelybook 出版社:‏ O’Reilly Media

Publication Date 出版日期: 2025-07-29

Edition 版本:‏ 2nd

Language 语言: English

Print Length 页数: 300 pages

ISBN-10: 1098136721

ISBN-13: 9781098136727

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 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

About the Author

Maurice Naftalin is Technical Director at Morningside Light Ltd., a software consultancy in the United Kingdom.

Philip Wadler is Professor of Theoretical Computer Science at theUniversity 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.

Amazon Page

下载地址

PDF, (conv), EPUB | 7 MB | 2025-06-27

请登录以查看全部内容 登录

此内容查看价格为12积分(VIP免费),请先
打赏
未经允许不得转载:finelybook » Java Generics and Collections: Fundamentals and Recommended Practices, 2nd Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫