Package | Description |
---|---|
com.google.common.base |
Basic utility libraries and interfaces.
|
Modifier and Type | Method and Description |
---|---|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
boolean value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
char value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
double value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
float value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
int value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
long value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.add(String name,
Object value)
Adds a name/value pair to the formatted output in
name=value
format. |
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(boolean value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(char value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(double value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(float value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(int value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(long value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.addValue(Object value)
Adds an unnamed value to the formatted output.
|
MoreObjects.ToStringHelper |
MoreObjects.ToStringHelper.omitNullValues()
Configures the
MoreObjects.ToStringHelper so toString() will ignore
properties with null value. |
static MoreObjects.ToStringHelper |
MoreObjects.toStringHelper(Class<?> clazz)
Creates an instance of
MoreObjects.ToStringHelper in the same manner as MoreObjects.toStringHelper(Object) , but using the simple name of clazz instead of using an
instance's Object.getClass() . |
static MoreObjects.ToStringHelper |
MoreObjects.toStringHelper(Object self)
Creates an instance of
MoreObjects.ToStringHelper . |
static MoreObjects.ToStringHelper |
MoreObjects.toStringHelper(String className)
Creates an instance of
MoreObjects.ToStringHelper in the same manner as MoreObjects.toStringHelper(Object) , but using className instead of using an instance's Object.getClass() . |
Copyright © 2010-2015. All Rights Reserved.