Class ToStringBuilder.Builder

    • Method Detail

      • setBuffer

        public ToStringBuilder.Builder setBuffer​(java.lang.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​(java.lang.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.