public boolean equals(Object obj) Indicates whether some other object is "equal to" this one. The equals method implements an equivalence relation on non-null object ...
In this blog post, I have looked at a common method that I only use rarely, but which is worth noting for its occasional use. The System.identityHashCode (Object) method is an easy way to obtain the ...
I previously blogged on the Apache Commons ToStringBuilder and discussed how it takes away much of the tedium normally associated with implementing toString methods. While implementing toString() does ...
This library provides an AST annotation for Groovy classes that provides an equals() and hashCode() implementation based on a configurable list of properties in the Groovy class. One use case where ...