"Effective Java (Chinese second edition)" PDF download

Source: Internet
Author: User
Tags java se

Effective Java (Chinese second edition) "PDF" Download Link:
https://u253469.pipipan.com/fs/253469-230382186

Java (second edition) "PDF" "title=" "Effective Java (Chinese second edition)" PDF ""/>

Editor's recommendation

"Sun's core Technology series: Effective
The Chinese version of Java (2nd edition) has a comprehensive, clear structure and detailed explanation. Can be used as a reference book for technical staff. Coding adds to the fun, the program is more perfect, the efficiency becomes the habit, the work is so easy. Are you looking for a more in-depth understanding of the Java programming language so you can write code that is clearer, more correct, more robust, and easier to reuse. No need to find it! The Sun
Company Core Technology Series: Effective
The Chinese version of Java (2nd edition) brings us a total of 78 programmer's rules of thumb, providing the most effective and practical solution to the programming problems you will encounter every day.
This classic Jolt award-winning work is a desirable. The author has made a thorough update of the new version. Covers the Java that was introduced since the L version
E5 and Java SE
6 features, while developing new design patterns and language idioms, describes how to make the most of the features from generics to enumerations, from annotations to automatic boxing.
Each chapter contains several "entries", presented in a concise form, and self-contained essays, which offer specific recommendations, unique insights into the subtleties of the Java platform, and excellent code examples. A comprehensive description and explanation of each entry illustrates what should be done, what should not be done, and why.

Celebrity Testimonials

I wish I had this book 10 years ago. Someone might think I don't need any books on Java, but I need this book.
The father of--java
James Gosling

Media recommendations

I wish I had this book 10 years ago. Someone might think I don't need any books on Java, but I need this book.
The father of--java
James Gosling

About the author

(United States) Joshua Bloch Translator: Yang Chunhua Horimin
Joshua
Bloch, is Google's chief Java architect. Is the winner of the Jolt Award. He was an outstanding engineer at Sun, and a senior system designer at Transarc Corporation. Bloch has led the team to design and implement countless Java platform features, including the JDK 5.0 language Enhancement and the award-winning Java collections Framework. His writings also include: The Java
Puzzlers "," Java
Concurrency in Practive "and so on.

Directory

Translator sequence
Order
Objective
Thanks
Chapter 1th Introduction
Chapter 2nd Creating and destroying objects
1th: Consider replacing the constructor with a static factory method
2nd: Consider using the builder when you encounter multiple constructor parameters
3rd: Hardening the Singleton property with a private constructor or enumeration type
4th: The ability to harden non-instancing through a private constructor
5th: Avoid creating unnecessary objects
6th: Elimination of expired object references
7th: Avoid using the finalization method
3rd. Methods that are common to all objects
8th: Follow the general conventions when overriding equals
9th: Overwrite equals when always overwrite Hashcode
10th: Always overwrite ToString
11th: Carefully overwrite clone
12th: Consider implementing the comparable interface
4th Chapter Classes and Interfaces
13th: Minimizing the accessibility of classes and members
14th: Use Access methods in public classes instead of public domain
15th: Make the variability to minimize
16th: Compound takes precedence over inheritance
17th: Either design for inheritance, provide documentation, or prohibit inheritance
18th: interface is better than abstract class
19th: interfaces are only used to define types
20th: Class hierarchy is better than label class
21st: Using a Function object to represent a policy
22nd: Prioritize static member classes
5th Chapter Generic Type
23rd: Please do not use the original ecological type in the new code
24th: Eliminate non-inspected warnings
25th: List takes precedence over arrays
26th: Preferential consideration of generics
27th: The generic method is preferred
28th: The flexibility of using the Fraiti API with restricted wildcard
29th: Prioritize type-safe heterogeneous containers
6th Zhang Yi Lifting and annotation
30th: Substituting an enum for an int constant
31st: Replace ordinal with instance field
32nd: Replace the bit field with Enumset
33rd: Replace ordinal index with Enummap
34th: Simulating a scalable enumeration with an interface
35th: Annotations take precedence over naming patterns
36th: Insist on using the override annotation
37th: Defining the type with the tag interface
7th Chapter Method
38th: Check the validity of the parameters
39th: A protective copy if necessary
40th: Careful design method signature
41st: Careful use of heavy-duty
42nd: Use variable parameters with caution
43rd: Returns an array or a collection of 0 lengths instead of: null
44th: Write a document comment for all exported API elements
The 8th Chapter general programming
45th: Minimizing the scope of local variables
46th: The For-each cycle takes precedence over the traditional for loop
47th: Understanding and Using class libraries
48th: If you need a precise answer, avoid using float and double
49th: The base type takes precedence over the boxed base type
50th: Try to avoid using strings if other types are more appropriate
51st: Beware of String connection performance
52nd: referencing objects through interfaces
53rd: The interface takes precedence over the reflection mechanism
54th: Use local methods with caution
55th: Be careful to optimize
56th: Adherence to universally accepted naming conventions
9th Chapter Exception
57th: Use exceptions only for exception cases
58th: Use the exception for recoverable cases, use run-time exceptions for programming errors
59th: Avoid unnecessary use of the exception being inspected
60th: Preferential use of standard exceptions
61st: Throw the exception corresponding to the abstract
62nd: Each method throws the exception to have the document
63rd: Contains information that can capture failure in the detail message
64th: Strive to keep the atom of failure
65th: Do not ignore exceptions
10th Chapter Concurrency
66th: Synchronizing access to shared mutable data
67th: Avoid over-synchronization
68th: Executor and task priority Main Line
69th: Concurrency tools take precedence over wait and notify
70th: Documentation of thread safety
71st: Delay initialization with caution
72nd: Do not rely on the thread scheduler
73rd: Avoid using thread groups
The 11th chapter of serialization
74th: The serializable interface is implemented with caution
75th: Consider using a custom serialization format
76th: Writing ReadObject methods in a protective manner
77th: For instance control, enumeration type takes precedence over Readresolve
78th: Consider using a serialized proxy instead of a serialized instance
Appendix
Version 1th and 2nd entries
Chinese and English terminology control
Reference documents
Effective Java (Chinese second edition) "PDF" Download Link:
https://u253469.pipipan.com/fs/253469-230382186

For more books and recommended ebooks, please pay attention to:
http://zhaozhiyong.cn

"Effective Java (Chinese second edition)" PDF download

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.