Diff¶
- public abstract class org.apache.commons.lang3.builder.Diff<T> extends Pair<T, T>[source]¶
A
Diffcontains the differences between twoDiffableclass fields.Typically,
Diffs are retrieved by using aDiffBuilderto produce aDiffResult, containing the differences between two objects.- Parameters:
<T> – The type of object contained within this
Diff. Differences between primitive objects are stored as their Object wrapper equivalent.- Since:
3.3
Constructors¶
Constructs a new |
Methods¶
Gets the name of the field. |
|
Deprecated. Gets the type of the field. |
|
Sets no value and always throws |
|
Returns a |
- @Deprecated public final Type getType()[source]¶
Deprecated: Unused, will be removed in 4.0.0.
Gets the type of the field.
- Returns:
The field type.
- @Override public final T setValue(T value)[source]¶
Sets no value and always throws
UnsupportedOperationException.- Parameters:
value – ignored.
- Returns:
Throws
UnsupportedOperationException.