Search code examples
Example for Effective Java where clone() returns a shallow copy...


javacloneeffective-java

Read More
Understanding the concept behind Service provider framework like JDBC using the factory method...


javajdbceffective-javaservice-provider

Read More
Examples for combinatorial explosion in Java?...


javaeffective-java

Read More
how caching hashcode works in Java as suggested by Joshua Bloch in effective java?...


javacachinghashcodeeffective-java

Read More
Why shouldn't clone() be used for defensive copying?...


javaeffective-java

Read More
Joshua Bloch Item #1 Static Factory Methods Instead of Constructors - Object creation...


javastatic-methodsfactory-methodeffective-java

Read More
What is the benefits to use assertion in Java's private methods...


javaassertioneffective-java

Read More
Why do Java finalizers have security problems?...


javamemory-managementgarbage-collectionfinalizereffective-java

Read More
Need I make all classes immutable?...


javaimmutabilityeffective-java

Read More
What is an immutable value class in Java? (Effective Java by Joshua Bloch)...


javadesign-patternsstaticimmutabilityeffective-java

Read More
Effective in Java Item 89: For instance control, prefer enum types to readResolve - Why can the stea...


javaserializationeffective-java

Read More
What is an AssertionError? In which case should I throw it from my own code?...


javaexceptioneffective-java

Read More
Inheritance vs Composition: Does composition effectively solve dependency issues? [Effective Java]...


javainheritancecompositioneffective-java

Read More
Static Factory Methods - return any subtype...


javaeffective-java

Read More
BigDecimal is extendable and has no copy-constructor. Is that a security risk?...


javasecuritybigdecimaleffective-java

Read More
Glacier Class Immutable Checker does not works on Checker Framework 3.6.0...


javaimmutabilitycheckstyleeffective-java

Read More
Forwarding Class Example...


javaeffective-java

Read More
What does "Recursive type bound" in Generics mean?...


javagenericseffective-java

Read More
What is the difference between a compile time type vs run time type for any object in Java?...


javagenericseffective-java

Read More
It''s never a good idea for a public class to expose fields directly, but why it is less har...


javaoopencapsulationsoftware-designeffective-java

Read More
Why did Joshua Bloch use 2*size + 1 for resizing the stack in Effective Java?...


javaeffective-java

Read More
ElvisStealer from Effective Java...


javaserializationsingletoneffective-java

Read More
Java: When to add readObjectNoData() during serialization?...


javaserializationeffective-java

Read More
Why is this set containment check failing?...


javaequalshashseteffective-java

Read More
Make my logger very effective to my Java-application...


javaloggingmacroseffective-java

Read More
why did Joshua Bloch decrement the "size" value of stack in the pop method in effective ja...


javastackeffective-java

Read More
Using auto generated id of Hibernate entity object in the equals and hashcode methods...


javahibernateequalshashcodeeffective-java

Read More
How does casting this object to a generic type work?...


javagenericscastingeffective-java

Read More
Effective Java Item 11: Override clone Judiciously...


javacloningeffective-java

Read More
Why is sharing the mutable internals of immutable objects a good idea?...


javaimmutabilityeffective-java

Read More
BackNext