It is recommended and sometimes necessary, classes that represent values (value classes) to override hashCode(), equals() [and optionally
hashCode()
equals()
Posting my comment as an answer by request: Commonclipse, an Eclipse plugin that facilitates the use of Apache Commons, does what you want to do.
Caveat: I have no recent experience with this plugin, which is why I originally posted as a comment, and not as an answer.