Class ToStringBuilder.Builder

All Implemented Interfaces:
Supplier<AbstractReflection>
Enclosing class:
ToStringBuilder

public static class ToStringBuilder.Builder extends AbstractReflection.AbstractBuilder<ToStringBuilder.Builder>
Builds instances of CompareToBuilder.
Since:
3.21.0
  • Method Details

    • get

      public ToStringBuilder get()
    • setBuffer

      public ToStringBuilder.Builder setBuffer(StringBuffer buffer)
      Sets the StringBuffer to populate, may be null.
      Parameters:
      buffer - The StringBuffer to populate, may be null
      Returns:
      this builder instance.
    • setObject

      public ToStringBuilder.Builder setObject(Object object)
      Sets the Object to build a toString for, not recommended to be null.
      Parameters:
      object - The Object to build a toString for, not recommended to be null.
      Returns:
      this builder instance.
    • setStyle

      public ToStringBuilder.Builder setStyle(ToStringStyle style)
      Sets the style of the toString to create, null uses the default style.
      Parameters:
      style - The style of the toString to create, null uses the default style
      Returns:
      this builder instance.