Link Details

Link 110061 thumbnail
User 111696 avatar

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".
  • 16
  • 0
  • 1174
  • 344

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.