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.
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.
發表於2024-11-22
Java Generics and Collections 2024 pdf epub mobi 電子書 下載
圖書標籤: Java java Generics 編程 O'Reilly 集閤框架 泛型 programming
不搞java瞭,所以應該不會再讀瞭。書倒是好書。
評分200頁用瞭一年總算讀完瞭,這本書不適閤初學者,但如果從事框架級代碼開發則是必備書。泛型+反射是實現框架級代碼的必備工具。
評分看的原版,感覺很糟糕。第一:和Refactoring, TDD, and Clean Code相比,邏輯性還有例子實在太差。花瞭幾天零散時間看完,權當是索引,需要在網上找資料深入研究一下,畢竟這兩個方麵很重要。第二:這本書已經很老瞭,很多內容已經有誤導的嫌疑。第三:全書多處拼寫和格式錯誤,實在是不敢恭維(比如剛看完的p230 第二段結尾處的... reference to to the string)
評分基礎
評分Java泛型和集閤框架。介紹瞭一些集閤呈現當前這種設計的原因,也介紹瞭一些集閤實現的適用場景。藉助本書可以係統的瞭解Java的泛型和集閤框架。
Java Generics and Collections 2024 pdf epub mobi 電子書 下載