图书标签: Java java Generics 编程 O'Reilly 集合框架 泛型 programming
发表于2024-09-09
Java Generics and Collections pdf epub mobi txt 电子书 下载 2024
This comprehensive guide shows you how to master the most importantchanges to Java since it was first released. Generics and the greatlyexpanded collection libraries have tremendously increased the power ofJava 5 and Java 6. But they have also confused many developers whohaven't known how to take advantage of these new features.
Java Generics and Collections covers everything from the mostbasic uses of generics to the strangest corner cases. It teaches youeverything you need to know about the collections libraries, so you'llalways know which collection is appropriate for any given task, andhow to use it.
Topics covered include:
Fundamentals of generics: type parameters and generic methods
Other new features: boxing and unboxing, foreach loops, varargs
Subtyping and wildcards
Evolution not revolution: generic libraries with legacy clients andgeneric clients with legacy libraries
Generics and reflection
Design patterns for generics
Sets, Queues, Lists, Maps, and their implementations
Concurrent programming and thread safety with collections
Performance implications of different collections
Generics and the new collection libraries they inspired take Java to anew level. If you want to take your software development practice toa new level, this book is essential reading.
Philip Wadler is Professor of Theoretical Computer Science at theUniversity of Edinburgh, where his research focuses on the design ofprogramming languages. He is a co-designer of GJ, work thatbecame the basis for generics in Sun's Java 5.0.
Maurice Naftalin is Technical Director at Morningside Light Ltd., a software consultancy in the United Kingdom. He has most recently served as an architect and mentor at NSB Retail Systems plc, and as the leader of the client development team of a major UK government social service system.
第一部分讲泛型基础以及注意事项,特别精彩。里面讲了泛型实现使用的Bridge方法,也有一部分篇幅用来讲怎么处理遗留代码。这部分也讲到了使用泛型时候的两个原则,以及什么是java中的具体类型什么不是,这个是原则的基础。第二部分从总体框架介绍了java的集合框架,以及常用的实现,最后都在基本操作上对不同实现进行了性能比较。值得一看。
评分200页用了一年总算读完了,这本书不适合初学者,但如果从事框架级代码开发则是必备书。泛型+反射是实现框架级代码的必备工具。
评分略冗
评分基础
评分不搞java了,所以应该不会再读了。书倒是好书。
评分
评分
评分
评分
Java Generics and Collections pdf epub mobi txt 电子书 下载 2024