docs/javadoc/reference/com/facebook/common/internal/Objects.ToStringHelper.html
|
|
ImmutableMap<K, V>
ImmutableSet<E>
Summary: Methods | Inherited Methods | [Expand All]
public static final class
extends Object
| java.lang.Object | | ↳ | com.facebook.common.internal.Objects.ToStringHelper |
Support class for toStringHelper(Class>).
| Public Methods |
|---|
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
Adds a name/value pair to the formatted output in name=value format. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
| Adds an unnamed value to the formatted output. |
| Objects.ToStringHelper |
Configures the Objects.ToStringHelper so toString() will ignore properties with null value. |
| String |
Returns a string in the format specified by toStringHelper(Object). |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Adds a name/value pair to the formatted output in name=value format.
Adds a name/value pair to the formatted output in name=value format. If value is null, the string "null" is used, unless omitNullValues() is called, in which case this name/value pair will not be added.
Adds a name/value pair to the formatted output in name=value format.
Adds a name/value pair to the formatted output in name=value format.
Adds a name/value pair to the formatted output in name=value format.
Adds a name/value pair to the formatted output in name=value format.
Adds a name/value pair to the formatted output in name=value format.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, int) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, double) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, boolean) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, Object) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, float) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, char) instead and give value a readable name.
Adds an unnamed value to the formatted output.
It is strongly encouraged to use add(String, long) instead and give value a readable name.
Configures the Objects.ToStringHelper so toString() will ignore properties with null value. The order of calling this method, relative to the add()/addValue() methods, is not significant.
Returns a string in the format specified by toStringHelper(Object).
After calling this method, you can keep adding more properties to later call toString() again and get a more complete representation of the same object; but properties cannot be removed, so this only allows limited reuse of the helper instance. The helper allows duplication of properties (multiple name/value pairs with the same name can be added).
+Generated by Doclava. +