public static class Objects.ToStringHelper extends Object
 Resulting toString() will look like <className>{attribute=value, attribute1=value1} according to the
 number of attributes that have been added.
 
| Constructor and Description | 
|---|
| ToStringHelper(Object target)Builds a toStringHelper for the given target object. | 
| Modifier and Type | Method and Description | 
|---|---|
| Objects.ToStringHelper | add(String name,
   Object value)Adds the given key/value pair that needs to appear in the final string representation. | 
| String | toString() | 
public ToStringHelper(Object target)
target - Object for which we'll need a string representation.public Objects.ToStringHelper add(String name, Object value)
Key/value pairs will appear in the final representation in the same order they have been added through here.
name - Name of the pair.value - Value of the pair.this instance.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.