Posts Tagged ‘Equals’

Compact equals method

Posted: 17th August 2011 by Bogdan Galiceanu in Java
Tags: ,

One way to write a nice, readable equals method in Java: http://www.obix-labs.com/blogs/highOctaneJava/entry/compact_equals

And a blog post in response to that, showing some alternatives and also a Java 7 version: http://www.javaworld.com/community/node/8014