News

In response to my recent blog posting Immutable Java Objects , Matt brought up a good point of discussion related to making Java classes truly immutable by declaring them as ...
Java doesn't work like this, java.lang.String and java.lang.StringBuffer aren't related through inheritance and when you call StringBuffer.toString () a brand new String is created with a copy of ...
I prefer that all of my Java classes provide for immutable objects unless there is a compelling need for them to be mutable. I’m not the only one who feels this way.