Are you looking for a deeper understanding of the Javaac programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective Javaac, Second Edition, brings together seventy-eight indispensable programmeras rules of thumb: working, best-practice solutions for the programming challenges you encounter every day. This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing. Each chapter in the book consists of several aitemsa presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. Highlights include: New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io Simply put, Effective Javaac, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.What this variable does is to ensure that field is read only once in the common case where ita#39;s already initialized. ... Prior to release 1.5, the double-check idiom did not work reliably because the semantics of the volatile modifier were not stronganbsp;...
|Publisher||:||Addison-Wesley Professional - 2008-05-08|