My favorites | Sign in
Google
Projects on Google Code Results 1 - 5 of 5
Included in the last code: - SimpleBean : implement simple equals, hashCode and toString replacement. If you use Maven, add these lines to your pom file: {{{ <dependency> <groupId>com.google.code.simplestuff</groupId> <artifactId>simplestuff</artifactId> <version>0.9</version> ...
= !EqualsVerifier = `EqualsVerifier` can be used in Java unit tests to verify whether the contract for the `equals` and `hashCode` methods in a class is met. The contracts are described in the Javadoc comments for the `java.lang.Object` class. == Quick start == * Maven users: click [M...
*This project has moved to [http://www.pojomatic.org]* Simply annotate the fields and/or methods with `@Property` that you would like included, or annotate the class with `@AutoProperty` to have all of the fields included by default. Then, delegate to Pojomatic for your hashCode(), toString(), an...
Intellij idea plugin to check fields not used in the *equals()* and *hashCode()* methods. http://equalsnhashcode.googlecode.com/files/Unused%20field.png [http://code.google.com/p/equalsnhashcode/wiki/Instructions Installation Instructions]
Overriding an objects equals(Object obj) and hashCode() methods can be a daunting task, as there are several characteristics that these methods must exhibit. JECTU is a testing (framework agnostic) utility that uses reflection (and user declaration) to examine each member property's affects upon th...