... Effective Java: Programming Language Guide
15
The
isBabyBoomer
method unnecessarily creates a new
Calendar
,
TimeZone
, ... delegates to a backing object, providing an alternative interface to the backing
Effective Java: Programming Language Guide
19
Because memory leaks typically do not manifest themselves as obvious ... database is a good way to bring your entire...
... Effective Java: Programming Language Guide
33
A good hash function tends to produce unequal hash codes for unequal ... an odd prime. If it was even and the multiplication overflowed, information
Effective Java: Programming Language Guide
34
would be lost because multiplication by two is equivalent to shifting. ... fact, a perfectly reasonable
hashCode implementation for...
... their package.
Effective Java: Programming Language Guide
1 75
[J2SE-APIs] Java 2 Platform, Standard Edition, v 1.3 API Specification. Sun
Microsystems. March 2001. <http:/ /java. sun.com/j2se/1.3/docs/api/overview-summary.html>. ... public final Date end;
Effective Java: Programming Language Guide
174
References
[Arnold00] Arnold, Ken, James Gosling, Dav...
... they are using.
Effective Java: Programming Language Guide
5
Chapter 1. Introduction
This book is designed to help you make the most effective use of the Java programming
language and its ... synchronization 1 45
Item 50 : Never invoke
wait outside a loop 149
Item 51 : Don't depend on the thread scheduler 151
Item 52 : Document thread safety 154
Item 53 : Av...
... a holdover from the C programming
Effective Java: Programming Language Guide
93
Item 24: Make defensive copies when needed
One thing that makes the Java programming language such a pleasure ... client-provided mutable object must make this
clear in its documentation.
Effective Java: Programming Language Guide
103
language, in which array lengths are returned se...
... doSomething(list.get(i));
}
Effective Java: Programming Language Guide
107
Chapter 7. General Programming
This chapter is largely devoted to the nuts and bolts of the language. It discusses the ... system can ever achieve.
Effective Java: Programming Language Guide
121
In summary, reflection is a powerful facility that is required for certain sophisticated system
p...
...
Effective Java: Programming Language Guide
124
The need to measure the effects of optimization is even greater on the Java platform than on
more traditional platforms, as the Java programming ...
indirectly).
Effective Java: Programming Language Guide
136
use of the method, as it effectively obscures any other exception that may be thrown in the
same context.
W...