| Interface | Description |
|---|---|
| Builder<T> |
建造者模式
|
| Diffable<T> |
Diffable classes can be compared with other objects
for differences. |
| Class | Description |
|---|---|
| CompareToBuilder |
/**
用于构建
Comparable.compareTo(Object) 方法的辅助工具 |
| Diff<T> |
A
Diff contains the differences between two Diffable class
fields. |
| DiffBuilder |
Assists in implementing
Diffable.diff(Object) methods. |
| DiffResult |
A
DiffResult contains a collection of the differences between two
Diffable objects. |
| EqualsBuilder |
Object.equals(Object) 方法的构建器 |
| HashCodeBuilder |
Assists in implementing
Object.hashCode() methods. |
| MultilineRecursiveToStringStyle |
Works with
ToStringBuilder to create a "deep" toString. |
| RecursiveToStringStyle |
Works with
ToStringBuilder to create a "deep" toString. |
| ReflectionDiffBuilder |
Assists in implementing
Diffable.diff(Object) methods. |
| 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. |
| Annotation Type | Description |
|---|---|
| EqualsExclude |
Use this annotation to exclude a field from being used by
the various
reflectionEquals methods defined on
EqualsBuilder. |
| HashCodeExclude |
Use this annotation to exclude a field from being used by
the various
reflectionHashcode methods defined on
HashCodeBuilder. |
| ToStringExclude |
Use this annotation to exclude a field from being used by
the
ReflectionToStringBuilder. |
| ToStringSummary |
Use this annotation on the fields to get the summary instead of the detailed
information when using
ReflectionToStringBuilder. |
Copyright © 2019. All rights reserved.