public class HexadecimalRepresentation extends StandardRepresentation
| Modifier and Type | Field and Description |
|---|---|
static HexadecimalRepresentation |
HEXA_REPRESENTATION |
static int |
NIBBLE_SIZE |
static String |
PREFIX |
ELEMENT_SEPARATOR, ELEMENT_SEPARATOR_WITH_NEWLINE, STANDARD_REPRESENTATION| Constructor and Description |
|---|
HexadecimalRepresentation() |
| 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 hexadecimal the
toString representation of the given object. |
protected String |
toStringOf(Representation representation,
String s) |
protected String |
toStringOf(Short s) |
customFormat, fallbackToStringOf, format, format, formatArray, formatPrimitiveArray, getMaxLengthForSingleLineDescription, hasCustomFormatterFor, multiLineFormat, multiLineFormat, registerFormatterForType, removeAllRegisteredFormatters, resetDefaults, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, singleLineFormat, singleLineFormat, smartFormat, smartFormat, toString, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, unambiguousToStringOfpublic static final HexadecimalRepresentation HEXA_REPRESENTATION
public static final String PREFIX
public static final int NIBBLE_SIZE
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(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 StandardRepresentationprotected String toStringOf(Representation representation, String s)
Copyright © 2014–2019 AssertJ. All rights reserved.