Uses of Class
com.google.common.base.MoreObjects.ToStringHelper
Packages that use MoreObjects.ToStringHelper
-
Uses of MoreObjects.ToStringHelper in com.google.common.base
Methods in com.google.common.base that return MoreObjects.ToStringHelperModifier and TypeMethodDescriptionAdds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.Adds a name/value pair to the formatted output inname=value
format.MoreObjects.ToStringHelper.addValue
(boolean value) Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.addValue
(char value) Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.addValue
(double value) Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.addValue
(float value) Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.addValue
(int value) Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.addValue
(long value) Adds an unnamed value to the formatted output.Adds an unnamed value to the formatted output.MoreObjects.ToStringHelper.omitEmptyValues()
Configures theMoreObjects.ToStringHelper
sotoString()
will ignore properties with empty values.MoreObjects.ToStringHelper.omitNullValues()
Configures theMoreObjects.ToStringHelper
sotoString()
will ignore properties with null value.static MoreObjects.ToStringHelper
MoreObjects.toStringHelper
(Class<?> clazz) Creates an instance ofMoreObjects.ToStringHelper
in the same manner asMoreObjects.toStringHelper(Object)
, but using the simple name ofclazz
instead of using an instance'sObject.getClass()
.static MoreObjects.ToStringHelper
MoreObjects.toStringHelper
(Object self) Creates an instance ofMoreObjects.ToStringHelper
.static MoreObjects.ToStringHelper
MoreObjects.toStringHelper
(String className) Creates an instance ofMoreObjects.ToStringHelper
in the same manner asMoreObjects.toStringHelper(Object)
, but usingclassName
instead of using an instance'sObject.getClass()
.