Google have a nice equals method to make boiler plate equals easier to read. Particularly good if you have many attributes in the method. http://publicobject.com/2007/09/coding-in-small-with-google-collections_8175.html
Be careful to check that your objects are consistent with equals though. I have mentioned this before.
16
2010
Google Objects.equal, useful but be careful.
25
2010
Eclipse, Static imports quickly and GitHub gist.
Every one has a collection of favorite Eclipse templates. I find the simple ones are often the most useful. The examples below create you a static import and finish the method your typing. They even put the cursor in the right place if you need arguments in the method. I am going to collect more [...]
14
2009
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 which object passed, if any will get mutated. So the reader is forced to [...]
26
2009
Google wave review from TechCrunch
I found and read this Google Wave review today: Google Wave Review The tone is a little harsh considering Wave is still very much beta, but the points are valid. I did wonder what the odd feeling was when using wave online with other users, apparently its Live Feedback. You can achieve the [...]
31
2009
Neat multiset in google collections API
This good thing was so small that I almost did not bother to blog it
But the devil is in the detail so here it is anyway.
I have this multi threaded application. One of the problems with integration testing it is, you can’t guarantee the order that messages will be written to a stream. [...]