| Package | Description | 
|---|---|
| org.apache.commons.lang3.builder | Assists in creating consistent  equals(Object),toString(),hashCode(), andcompareTo(Object)methods. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MultilineRecursiveToStringStyleWorks with  ToStringBuilderto create a "deep"toString. | 
| class  | RecursiveToStringStyleWorks with  ToStringBuilderto create a "deep"toString. | 
| class  | StandardToStringStyleWorks with  ToStringBuilderto create atoString. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ToStringStyle | ToStringStyle. DEFAULT_STYLEThe default toString style. | 
| static ToStringStyle | ToStringStyle. JSON_STYLEThe JSON toString style. | 
| static ToStringStyle | ToStringStyle. MULTI_LINE_STYLEThe multi line toString style. | 
| static ToStringStyle | ToStringStyle. NO_CLASS_NAME_STYLEThe no class name toString style. | 
| static ToStringStyle | ToStringStyle. NO_FIELD_NAMES_STYLEThe no field names toString style. | 
| static ToStringStyle | ToStringStyle. SHORT_PREFIX_STYLEThe short prefix toString style. | 
| static ToStringStyle | ToStringStyle. SIMPLE_STYLEThe simple toString style. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ToStringStyle | ToStringBuilder. getDefaultStyle()Gets the default  ToStringStyleto use. | 
| ToStringStyle | ToStringBuilder. getStyle()Gets the  ToStringStylebeing used. | 
| ToStringStyle | DiffResult. getToStringStyle()
 Returns the style used by the  DiffResult.toString()method. | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | ToStringBuilder. reflectionToString(Object object,
                  ToStringStyle style)Uses  ReflectionToStringBuilderto generate atoStringfor the specified object. | 
| static String | ToStringBuilder. reflectionToString(Object object,
                  ToStringStyle style,
                  boolean outputTransients)Uses  ReflectionToStringBuilderto generate atoStringfor the specified object. | 
| static <T> String | ToStringBuilder. reflectionToString(T object,
                  ToStringStyle style,
                  boolean outputTransients,
                  Class<? super T> reflectUpToClass)Uses  ReflectionToStringBuilderto generate atoStringfor the specified object. | 
| static void | ToStringBuilder. setDefaultStyle(ToStringStyle style)Sets the default  ToStringStyleto use. | 
| static String | ReflectionToStringBuilder. toString(Object object,
        ToStringStyle style)
 Builds a  toStringvalue through reflection. | 
| static String | ReflectionToStringBuilder. toString(Object object,
        ToStringStyle style,
        boolean outputTransients)
 Builds a  toStringvalue through reflection. | 
| static String | ReflectionToStringBuilder. toString(Object object,
        ToStringStyle style,
        boolean outputTransients,
        boolean outputStatics)
 Builds a  toStringvalue through reflection. | 
| String | DiffResult. toString(ToStringStyle style)
 Builds a  Stringdescription of the differences contained within
 thisDiffResult, using the suppliedToStringStyle. | 
| static <T> String | ReflectionToStringBuilder. toString(T object,
        ToStringStyle style,
        boolean outputTransients,
        boolean outputStatics,
        Class<? super T> reflectUpToClass)
 Builds a  toStringvalue through reflection. | 
| Constructor and Description | 
|---|
| DiffBuilder(Object lhs,
           Object rhs,
           ToStringStyle style)
 Constructs a builder for the specified objects with the specified style. | 
| DiffBuilder(Object lhs,
           Object rhs,
           ToStringStyle style,
           boolean testTriviallyEqual)
 Constructs a builder for the specified objects with the specified style. | 
| ReflectionToStringBuilder(Object object,
                         ToStringStyle style)
 Constructor. | 
| ReflectionToStringBuilder(Object object,
                         ToStringStyle style,
                         StringBuffer buffer)
 Constructor. | 
| ReflectionToStringBuilder(T object,
                         ToStringStyle style,
                         StringBuffer buffer,
                         Class<? super T> reflectUpToClass,
                         boolean outputTransients,
                         boolean outputStatics)Constructor. | 
| ToStringBuilder(Object object,
               ToStringStyle style)Constructs a builder for the specified object using the a defined output style. | 
| ToStringBuilder(Object object,
               ToStringStyle style,
               StringBuffer buffer)Constructs a builder for the specified object. | 
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.