public class BinaryRepresentation extends StandardRepresentation
| Modifier and Type | Field and Description |
|---|---|
static String |
BYTE_PREFIX |
ELEMENT_SEPARATOR, ELEMENT_SEPARATOR_WITH_NEWLINE, STANDARD_REPRESENTATION| Constructor and Description |
|---|
BinaryRepresentation() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
toStringOf(Byte b) |
protected String |
toStringOf(Character character) |
protected String |
toStringOf(Double d) |
protected String |
toStringOf(Float f) |
protected String |
toStringOf(Integer i) |
protected String |
toStringOf(Long l) |
protected String |
toStringOf(Number number) |
String |
toStringOf(Object object)
Returns binary the
toString representation of the given object. |
protected String |
toStringOf(Representation representation,
String s) |
protected String |
toStringOf(Short s) |
format, format, formatArray, formatPrimitiveArray, multiLineFormat, multiLineFormat, setMaxLengthForSingleLineDescription, singleLineFormat, singleLineFormat, smartFormat, smartFormat, toString, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOfpublic static final String BYTE_PREFIX
public String toStringOf(Object object)
toString representation of the given object. It may or not the object's own
implementation of toString.toStringOf in interface RepresentationtoStringOf in class StandardRepresentationobject - the given object.toString representation of the given object.protected String toStringOf(Representation representation, String s)
protected String toStringOf(Number number)
toStringOf in class StandardRepresentationprotected String toStringOf(Long l)
toStringOf in class StandardRepresentationprotected String toStringOf(Float f)
toStringOf in class StandardRepresentationprotected String toStringOf(Character character)
toStringOf in class StandardRepresentationCopyright © 2013–2016 AssertJ. All rights reserved.