Search code examples
Why is sharing the mutable internals of immutable objects a good idea?...

javaimmutabilityeffective-java

Read More
Lazy initialization using single check idiom...

javavolatilelazy-initializationeffective-java

Read More
Why is the volatile field copied to a local variable when doing double check locking...

javamultithreadingconcurrencysynchronizationeffective-java

Read More
Why is the boolean logical operator ^ being used in this piece of example code from Effective Java?...

javaoptimizationjvmeffective-java

Read More
How is the JVM prevented from 'optimizing away everything' in this piece of example code fro...

javaoptimizationjvmeffective-java

Read More
Effective Java item 16 (2nd edition) - Is Forwarding class only used to allow re-use?...

javaoopeffective-java

Read More
Effective Java: Safety of Forwarding Classes...

javainheritanceguavacompositioneffective-java

Read More
In constructor method references, difference between using generic type parameters and not?...

javagenericslambdamethod-referenceeffective-java

Read More
What is wrong with this Java Puzzlers piece of code?...

javatry-catchtry-catch-finallyeffective-javatry-finally

Read More
Singleton classes serializable...

javaobjectserializationsingletoneffective-java

Read More
What is the best way of sending defensive copy of data ?...

javaeffective-javadefensive-programming

Read More
Immutable class using static factories...

javaimmutabilityeffective-javastatic-factory

Read More
about inline the call from effective_java book...

javaeffective-java

Read More
Effective Java. Clonable interface...

javacloneableeffective-java

Read More
Returning empty collections in accordance with Effective Java...

javacollectionseffective-java

Read More
What does Joshua Bloch mean by extra-linguistic?...

javacloneeffective-java

Read More
Effective Java: clone() private access...

javacloneprivate-memberseffective-java

Read More
Effective Java Item 66: Why to synchronize both read and write methods?...

javamultithreadingeffective-java

Read More
Is terminating an object is the same as nulling it?...

javaoopeffective-java

Read More
Why is there a need to override hashcode if I override the 'equals' method in Java?...

javaobjectequalshashcodeeffective-java

Read More
Effective Java Item1 - Static factory method for object creation...

javadesign-patternsconstructoreffective-javastatic-factory

Read More
collection of date using generics...

javagenericseffective-java

Read More
What's the difference between raw types, unbounded wild cards and using Object in generics...

javagenericseffective-java

Read More
Why UnaryFunction<Object> can be casted to UnaryFunction<T>?...

javagenericseffective-java

Read More
How to create an abstract class with static factory method?...

javaswingstatic-methodsfactory-patterneffective-java

Read More
How does the JVM reuse interned String substrings?...

javastringspecificationseffective-java

Read More
Do we need a .build() method in the Builder Pattern?...

javadesign-patternsbuildereffective-java

Read More
Builder pattern validation - Effective Java...

javadesign-patternsbuildereffective-java

Read More
Effective Java Item 9, is the CaseInsensitiveString example correct?...

javaeffective-java

Read More
Adapting the Builder pattern for method invocation...

javadesign-patternsmethodsbuildereffective-java

Read More
BackNext