產品名稱:Effective Java(第3版)( Effective 是否是套裝:是 書名:Effective Java(第3版)(英文版) Effective Effective Java(第3版)(英文版) Effective 代碼:99 出版社名稱:電子工業出版社 出版時間:2018-06-01 作者:Joshua Bloch(約書亞·布洛克) Joshua ISBN編號:9787121342608
" Effective Java 作 者:(美)約書亞·布洛克(Joshua Bloch) 著 定 價:99 出 版 社:電子工業出版社 出版日期:2018年07月01日 頁 數:392 裝 幀:平裝 ISBN:9787121342608 ●1 Introduction1 ●2 Creating and Destroying Objects5 ●Item 1: Consider static factory methods instead of constructors5 ●Item 2: Consider a builder when faced with many constructor parameters10 ●Item 3: Enforce the singleton property with a private constructor or an enum type17 ●Item 4: Enforce noninstantiability with a private constructor19 ●Item 5: Prefer dependency injection to hardwiring resources20 ●Item 6: Avoid creating unnecessary objects22 ●Item 7: Eliminate obsolete object references26 ●Item 8: Avoid finalizers and cleaners 29 ●Item 9: Prefer try-with-resources to try-finally34 ●3 Methods Common to All Objects37 ●Item 10: Obey the general contract when overriding equals37 ●Item 11: Always override hashCode when you override equals50 ●Item 12: Always override toString55 ●Item 13: Override clone judiciously58 ●Item 14: Consider implementing Comparable66 ●4 Classes and Interfaces73 ●Item 15: Minimize the accessibility of classes and members73 ●Item 16: In public classes, use accessor methods, not public fields78...... 內容簡介 自從Java 6發布之後,Java又有了翻天覆地的變化。本書涵蓋了Java 7、Java 8和Java 9中語言和庫的各種新特性。讓你能夠深入了解Java平臺的細微之處。通過對每一個項目的全面描述和解釋,告訴你應該做什麼、不應該做什麼,以及為什麼要這樣做。 (美)約書亞·布洛克(Joshua Bloch) 著 約書亞·布洛克是卡耐基梅隆大學的教授。他曾經是Google公司的首席Java架構師、Sun公司的傑出工程師以及Transarc公司的不錯繫統設計師。Bloch曾帶領團隊設計並實現過無數的Java平臺特性;包括JDK5.0語言增強版,並且Java集合框架上屢獲殊榮。他擁有卡耐基梅隆大學的計算機科學博士學位以及哥倫比亞大學的計算機科學學士學位。 "
|