equals(Object), toString(),
hashCode(), and compareTo(Object) methods.See: Description
| Class | Description |
|---|---|
| CompareToBuilder |
Assists in implementing
Comparable.compareTo(Object) methods. |
| EqualsBuilder |
Assists in implementing
Object.equals(Object) methods. |
| HashCodeBuilder |
Assists in implementing
Object.hashCode() methods. |
| IDKey |
Wrap an identity key (System.identityHashCode())
so that an object can only be equal() to itself.
|
| ReflectionToStringBuilder |
Assists in implementing
Object.toString() methods using reflection. |
| StandardToStringStyle |
Works with
ToStringBuilder to create a toString. |
| ToStringBuilder |
Assists in implementing
Object.toString() methods. |
| ToStringStyle |
Controls
String formatting for ToStringBuilder. |
| ToStringStyle.DefaultToStringStyle |
Default
ToStringStyle. |
| ToStringStyle.MultiLineToStringStyle |
ToStringStyle that outputs on multiple lines. |
| ToStringStyle.NoFieldNameToStringStyle |
ToStringStyle that does not print out
the field names. |
| ToStringStyle.ShortPrefixToStringStyle |
ToStringStyle that prints out the short
class name and no identity hashcode. |
| ToStringStyle.SimpleToStringStyle |
ToStringStyle that does not print out the
classname, identity hashcode, content start or field name. |
equals(Object), toString(),
hashCode(), and compareTo(Object) methods.These classes are not thread-safe.
Object.equals(Object),
Object.toString(),
Object.hashCode(),
Comparable.compareTo(Object)