| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.common.base.Objects.ToStringHelper
public static class Objects.ToStringHelper
Support class for Objects.toStringHelper(java.lang.Object).
| Method Summary | |
|---|---|
 Objects.ToStringHelper | 
add(String name,
       Object value)
Adds a name/value pair to the formatted output in name=value
 format. | 
 Objects.ToStringHelper | 
addValue(Object value)
Adds a value to the formatted output in value format.
 It is strongly encouraged to use add(String, Object) instead and
 give value a readable name. | 
 String | 
toString()
Returns the formatted string.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public Objects.ToStringHelper add(String name,
                                  @Nullable
                                  Object value)
name=value
 format. If value is null, the string "null"
 is used.
public Objects.ToStringHelper addValue(@Nullable
                                       Object value)
value format.
 It is strongly encouraged to use add(String, Object) instead and
 give value a readable name.
public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||