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