public final class DefaultToString
extends java.lang.Object
toString representation of a group of values (array, iterable, map, tuple).| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
TUPPLE_END |
private static java.lang.String |
TUPPLE_START |
| Modifier | Constructor and Description |
|---|---|
private |
DefaultToString() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
toStringOf(MapEntry<?,?> mapEntry,
Representation representation) |
static java.lang.String |
toStringOf(Representation representation,
java.lang.Object o)
Returns the
toString representation of the given group. |
static java.lang.String |
toStringOf(Tuple tuple,
Representation representation) |
private static final java.lang.String TUPPLE_START
private static final java.lang.String TUPPLE_END
public static java.lang.String toStringOf(Representation representation, java.lang.Object o)
toString representation of the given group. It may or not the object's own implementation of
toString.o - the given object.toString representation of the given object.public static java.lang.String toStringOf(Tuple tuple, Representation representation)
public static java.lang.String toStringOf(MapEntry<?,?> mapEntry, Representation representation)