| Package | Description |
|---|---|
| org.apache.commons.lang3.builder |
Provides classes to create consistent
equals(Object), toString(), hashCode(), and compareTo(Object) methods. |
| Modifier and Type | Method and Description |
|---|---|
static <T> DiffBuilder.Builder<T> |
DiffBuilder.builder()
Constructs a new
DiffBuilder.Builder. |
DiffBuilder.Builder<T> |
DiffBuilder.Builder.setLeft(T left)
Sets the left object.
|
DiffBuilder.Builder<T> |
DiffBuilder.Builder.setRight(T right)
Sets the right object.
|
DiffBuilder.Builder<T> |
DiffBuilder.Builder.setStyle(ToStringStyle style)
Sets the style will to use when outputting the objects,
null uses the default. |
DiffBuilder.Builder<T> |
DiffBuilder.Builder.setTestObjectsEquals(boolean testObjectsEquals)
Sets whether to test if left and right are the same or equal.
|
DiffBuilder.Builder<T> |
DiffBuilder.Builder.setToStringFormat(String toStringFormat)
Sets the two-argument format string for
String.format(String, Object...), for example "%s differs from %s". |
Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.