public final class DefaultToString extends Object
toString
representation of a group of values (array, iterable, map, tuple).Modifier and Type | Method and Description |
---|---|
static String |
toStringOf(MapEntry<?,?> mapEntry,
Representation representation) |
static String |
toStringOf(Representation representation,
Object o)
Returns the
toString representation of the given group. |
static String |
toStringOf(Tuple tuple,
Representation representation) |
public static String toStringOf(Representation representation, 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 String toStringOf(Tuple tuple, Representation representation)
public static String toStringOf(MapEntry<?,?> mapEntry, Representation representation)
Copyright © 2013–2016 AssertJ. All rights reserved.