Sun Java Solaris Communities My SDN Account Join SDN
 
Books & Authors

Effective Java

 

Books Index


Chapter 3, Methods Common to All Objects | Chapter 5, Substitutes for C Constructs

Effective Java The JDC is pleased to present two chapters from Joshua Bloch's book Effective Java Programming Language Guide , from the The Java Series


About the Book

This highly readable book tells you how to use the Java programming language and its most fundamental libraries to best effect. The book consists of fifty-seven freestanding items, each conveying one specific rule for improving your programs and designs. The items are loosely grouped into nine chapters and are richly illustrated with working code examples. Many patterns, idioms, and antipatterns are described, including some which have never before been published.

About the Chapters

Chapter 3, "Methods Common to All Objects," tells you when and how to override the nonfinal Object methods (equals, hashCode, toString, and clone), as well as Comparable's compareTo method.

Chapter 5, "Substitutes for C Constructs," (which was previously posted on the JDC in a preliminary version) suggests replacements for several C constructs that were omitted from the Java programming language.

Ordering Information

You can order this book from the following online book stores:

Amazon.com
Fatbrain
Barnes and Noble

About the Author

Joshua Bloch Joshua Bloch is a Senior Staff Engineer at Sun Microsystems, Inc., where he is an architect in the Core Java Platform Group. He designed and implemented the award-winning Java Collections Framework, the java.math package, and contributed to many other parts of the platform. Joshua is the author of numerous articles and papers. His Ph.D. thesis on the replication of abstract data objects was nominated for the ACM Distinguished Doctoral Dissertation Award. He holds a B.S. from Columbia University and a Ph.D. from Carnegie-Mellon University.

"Effective Java Programming Language Guide," the best-selling Java Series title by Joshua Bloch, has won the prestigious Jolt Award from Software Development Magazine.

Chapter 3, Methods Common to All Objects | Chapter 5, Substitutes for C Constructs


Reader Feedback
Excellent   Good   Fair   Poor  

If you have other comments or ideas for future technical content, please type them here:

Comments:

If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.


Have a question about Java programming? Use Java Online Support.

Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.