equals(Object), toString(), hashCode(), and compareTo(Object) methods.See: Description
| Interface | Description | 
|---|---|
| Builder<T> | 
 The Builder interface is designed to designate a class as a builder 
 object in the Builder design pattern. | 
| Diffable<T> | Diffableclasses can be compared with other objects
 for differences. | 
| Class | Description | 
|---|---|
| CompareToBuilder | Assists in implementing  Comparable.compareTo(Object)methods. | 
| Diff<T> | 
 A  Diffcontains the differences between twoDiffableclass
 fields. | 
| DiffBuilder | 
 Assists in implementing  Diffable.diff(Object)methods. | 
| DiffResult | 
 A  DiffResultcontains a collection of the differences between twoDiffableobjects. | 
| EqualsBuilder | Assists in implementing  Object.equals(Object)methods. | 
| HashCodeBuilder | 
 Assists in implementing  Object.hashCode()methods. | 
| MultilineRecursiveToStringStyle | Works with  ToStringBuilderto create a "deep"toString. | 
| RecursiveToStringStyle | Works with  ToStringBuilderto create a "deep"toString. | 
| ReflectionToStringBuilder | 
 Assists in implementing  Object.toString()methods using reflection. | 
| StandardToStringStyle | Works with  ToStringBuilderto create atoString. | 
| ToStringBuilder | Assists in implementing  Object.toString()methods. | 
| ToStringStyle | Controls  Stringformatting forToStringBuilder. | 
| Annotation Type | Description | 
|---|---|
| EqualsExclude | Use this annotation to exclude a field from being being used by
 the various  reflectionEqualsmethods defined onEqualsBuilder. | 
| HashCodeExclude | Use this annotation to exclude a field from being being used by
 the various  reflectionHashcodemethods defined onHashCodeBuilder. | 
| ToStringExclude | Use this annotation to exclude a field from being being used by
 the  ReflectionToStringBuilder. | 
Assists in creating consistent equals(Object), toString(), hashCode(), and compareTo(Object) methods.
 These classes are not thread-safe.
When you write a hashCode(), do you check Bloch's Effective Java? No?
 You just hack in a quick number?
 Well HashCodeBuilder will save your day.
 It, and its buddies (EqualsBuilder, CompareToBuilder, ToStringBuilder), take care of the nasty bits while you focus on the important bits, like which fields will go into making up the hashcode.
Object.equals(Object), 
Object.toString(), 
Object.hashCode(), 
Comparable.compareTo(Object)Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.