Đang chuẩn bị liên kết để tải về tài liệu:
Effective Java: Programming Language Guide

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'effective java: programming language guide', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Joshua Bloch Effective Java Programming Language Guide Foreword by Guy Steele The Java Series Sun . from the Source Java Effective Java Programming Language Guide Joshua Bloch Publisher Addison Wesley First Edition June 01 2001 ISBN 0-201-31005-8 272 pages Are you ready for a concise book packed with insight and wisdom not found elsewhere Do you want to gain a deeper understanding of the Java programming language Do you want to write code that is clear correct robust and reusable Look no further This book will provide you with these and many other benefits you may not even know you were looking for. Featuring fifty-seven valuable rules of thumb Effective Java Programming Language Guide contains working solutions to the programming challenges most developers encounter each day. Offering comprehensive descriptions of techniques used by the experts who developed the Java platform this book reveals what to do - and what not to do - in order to produce clear robust and efficient code. Table of Contents Foreword.1 Preface.3 Acknowledgments.4 Chapter 1. Introduction.5 Chapter 2. Creating and Destroying Objects.8 Item 1 Consider providing static factory methods instead of constructors.8 Item 2 Enforce the singleton property with a private constructor.11 Item 3 Enforce noninstantiability with a private constructor.13 Item 4 Avoid creating duplicate objects.13 Item 5 Eliminate obsolete object references.16 Item 6 Avoid finalizers.19 Chapter 3. Methods Common to All Objects.23 Item 7 Obey the general contract when overriding equals.23 Item 8 Always override hashcode when you override equals.31 Item 9 Always override tostring.35 Item 10 Override clone judiciously.37 Item 11 Consider implementing Comparable.44 Chapter 4. Classes and Interfaces. 48 Item 12 Minimize the accessibility of classes and members.48 Item 13 Favor immutability.50 Item 14 Favor composition over inheritance.57 Item 15 Design and document for inheritance or else prohibit it.61 Item 16 Prefer interfaces to .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.