Quantcast
Channel: Transient Technology » immutable
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Refactoring to Google Collections – ImmutableList for simple code

I was reading this excellent post on google collections by Sune Simonsen and decided to re-factor some code of mine. I have an immutable results object used in a multi-threaded application. I wanted to...

View Article


Image may be NSFW.
Clik here to view.

When you can’t avoid an out parameter

We all know its a good idea to avoid using out variables in Java. In almost every case the code can be split up to avoid the situation. Its bad semantics because when reading the code its not obvious...

View Article

Browsing latest articles
Browse All 2 View Live