Skip to Content
Java 泛型与集合,第二版
book

Java 泛型与集合,第二版

by Maurice Naftalin, Philip Wadler
June 2025
Intermediate to advanced
368 pages
4h 53m
Chinese
O'Reilly Media, Inc.

Overview

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

十多年来,《Java Generics and Collections》一直是通用编程的参考指南。第二版涵盖了 Java 21,从最常见的用法到最奇怪的特殊情况,为通用编程提供了清晰的指南,为您提供有效使用和编写通用 API 所需的一切知识。本书全面介绍了集合库,您将始终了解如何以及何时将每个集合用于任何给定任务。此外,本书还详细解释了流处理,使您能够选择合适的处理模型,并理解它们如何协同工作,以充分利用平台库的性能。

这本不可或缺的指南涵盖:

  • 泛型基础:类型参数与泛型方法
  • 子类型和通配符
  • 泛型与反射
  • 泛型设计模式
  • 集合、队列、列表、映射及其实现
  • 使用集合进行并发编程与线程安全
  • 不同集合实现的性能比较
  • 使用和扩展 Java 集合框架的最佳实践
  • 设计哲学及与其他集合库的比较
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Java Server Pages

Java Server Pages

Hans Bergsten
JUnit in Action

JUnit in Action

Ted Husted, Vincent Massol

Publisher Resources

ISBN: 9798341661035