By bloid
via jeremymanson.blogspot.com
Published: Sep 04 2008 / 21:04
This time, I'll talk about deserialization, immutability and final fields. I'll try to be a little shorter.
I spent the last two posts on immutability (here and here) talking about what it takes to make an object's fields immutable. This advice mostly boiled down to "it has to be final and set before the constructor ends".
Add your comment
Voters For This Link (16)
-
bloid -
mswatcher -
djo.mos -
dlinsin -
deterb -
sptz45 -
rsmaniak -
yardena -
jkirstein -
overstades -
kieronwilkinson -
mdesjardins -
pashimito -
twuerthinger -
raavi -
rogerjose81