Effective Java
豆瓣
3rd Edition
Joshua Bloch
简介
The Definitive Guide to Java Platform Best Practices—Updated for Java 9
Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers.
As in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.
The third edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. Many new items have been added, including a chapter devoted to lambdas and streams.
New coverage includes
Functional interfaces, lambda expressions, method references, and streams
Default and static methods in interfaces
Type inference, including the diamond operator for generic types
The @SafeVarargs annotation
The try-with-resources statement
New library features such as the Optional<T> interface, java.time, and the convenience factory methods for collections
contents
Preface
About the Author
Chapter 1: Introduction
Chapter 2: Creating and Destroying Objects
Chapter 3: Methods Common to All Objects
Chapter 4: Classes and Interfaces
Chapter 5: Generics
Chapter 6: Enums and Annotations
Chapter 7: Lambdas and Streams
Chapter 8: Methods
Chapter 9: General Programming
Chapter 10: Exceptions
Chapter 11: Concurrency
Chapter 12: Serialization
Index
其它版本
-
Effective Java中文版(第3版) 机械工业出版社 2018
-
Effective Java(第3版)(英文版) 电子工业出版社 2018
-
Effective java 中文版(第2版) 机械工业出版社 2009
-
Effective Java 人民邮电出版社 2009
-
Effective Java: Second Edition Addison-Wesley 2008
-
Effective Java(影印版) (平装) 中国电力出版社 2004
-
Effective Java 中文版 机械工业出版社 2003
-
Effective Java Addison-Wesley Professional 2001