ToStringBuilder.Builder¶
- public static class org.apache.commons.lang3.builder.ToStringBuilder.Builder extends AbstractReflection.AbstractBuilder<ToStringBuilder.Builder>[source]¶
Builds instances of CompareToBuilder.
- Since:
3.21.0
Methods¶
Sets the |
|
Sets the Object to build a |
|
Sets the style of the |
- @Override public ToStringBuilder get()[source]¶
- public ToStringBuilder.Builder setBuffer(StringBuffer buffer)[source]¶
Sets the
StringBufferto populate, may be null.- Parameters:
buffer – The
StringBufferto populate, may be null- Returns:
thisbuilder instance.
- public ToStringBuilder.Builder setObject(Object object)[source]¶
Sets the Object to build a
toStringfor, not recommended to be null.- Parameters:
object – The Object to build a
toStringfor, not recommended to be null.- Returns:
thisbuilder instance.
- public ToStringBuilder.Builder setStyle(ToStringStyle style)[source]¶
Sets the style of the
toStringto create, null uses the default style.- Parameters:
style – The style of the
toStringto create, null uses the default style- Returns:
thisbuilder instance.