public interface Representation
Modifier and Type | Method and Description |
---|---|
String |
toStringOf(Object object)
Returns the
String representation of the given object. |
String |
unambiguousToStringOf(Object object)
Returns the
String representation of the given object with its type and hexadecimal hash code so that
it can be differentied from other objects with the same toStringOf(Object) representation. |
String toStringOf(Object object)
String
representation of the given object. It may or not the object's own implementation of
toString
.object
- the object to represent.toString
representation of the given object.String unambiguousToStringOf(Object object)
String
representation of the given object with its type and hexadecimal hash code so that
it can be differentied from other objects with the same toStringOf(Object)
representation.object
- the object to represent.toString
representation of the given object.Copyright © 2014–2017 AssertJ. All rights reserved.