public class GridToStringBuilder extends Object
toString() output.
Default exclusion policy (can be overridden with GridToStringInclude
annotation):
GridToStringExclude annotations
GridToStringExclude annotation (current list):
Object
Thread
Runnable
Serializable
Externalizable
InputStream implementations
OutputStream implementations
EventListener implementations
Lock implementations
ReadWriteLock implementations
Condition implementations
Map implementations
Collection implementations
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_COL_SIZE
Maximum number of collection (map) entries to print.
|
| Constructor and Description |
|---|
GridToStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
toString(Class<T> cls,
T obj)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String parent)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String name,
Object val)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String name0,
Object val0,
String name1,
Object val1)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String name0,
Object val0,
String name1,
Object val1,
String name2,
Object val2)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String name0,
Object val0,
String name1,
Object val1,
String name2,
Object val2,
String name3,
Object val3)
Produces auto-generated output of string presentation for given object and its declaration class.
|
static <T> String |
toString(Class<T> cls,
T obj,
String name0,
Object val0,
String name1,
Object val1,
String name2,
Object val2,
String name3,
Object val3,
String name4,
Object val4)
Produces auto-generated output of string presentation for given object and its declaration class.
|
public static final int MAX_COL_SIZE
public static <T> String toString(Class<T> cls, T obj, String name0, Object val0, String name1, Object val1, String name2, Object val2, String name3, Object val3, String name4, Object val4)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.name0 - Additional parameter name.val0 - Additional parameter value.name1 - Additional parameter name.val1 - Additional parameter value.name2 - Additional parameter name.val2 - Additional parameter value.name3 - Additional parameter name.val3 - Additional parameter value.name4 - Additional parameter name.val4 - Additional parameter value.public static <T> String toString(Class<T> cls, T obj, String name0, Object val0, String name1, Object val1, String name2, Object val2, String name3, Object val3)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.name0 - Additional parameter name.val0 - Additional parameter value.name1 - Additional parameter name.val1 - Additional parameter value.name2 - Additional parameter name.val2 - Additional parameter value.name3 - Additional parameter name.val3 - Additional parameter value.public static <T> String toString(Class<T> cls, T obj, String name0, Object val0, String name1, Object val1, String name2, Object val2)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.name0 - Additional parameter name.val0 - Additional parameter value.name1 - Additional parameter name.val1 - Additional parameter value.name2 - Additional parameter name.val2 - Additional parameter value.public static <T> String toString(Class<T> cls, T obj, String name0, Object val0, String name1, Object val1)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.name0 - Additional parameter name.val0 - Additional parameter value.name1 - Additional parameter name.val1 - Additional parameter value.public static <T> String toString(Class<T> cls, T obj, String name, @Nullable Object val)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.name - Additional parameter name.val - Additional parameter value.public static <T> String toString(Class<T> cls, T obj)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.public static <T> String toString(Class<T> cls, T obj, String parent)
T - Type of the object.cls - Declaration class of the object. Note that this should not be a runtime class.obj - Object to get a string presentation for.parent - String representation of parent.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016