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) |
format, format, formatArray, formatPrimitiveArray, multiLineFormat, multiLineFormat, resetDefaults, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, singleLineFormat, singleLineFormat, smartFormat, smartFormat, toString, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, toStringOf, unambiguousToStringOf
public 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 Representation
toStringOf
in class StandardRepresentation
object
- the given object.toString
representation of the given object.protected String toStringOf(Number number)
toStringOf
in class StandardRepresentation
protected String toStringOf(Long l)
toStringOf
in class StandardRepresentation
protected String toStringOf(Float f)
toStringOf
in class StandardRepresentation
protected String toStringOf(Character character)
toStringOf
in class StandardRepresentation
protected String toStringOf(Representation representation, String s)
Copyright © 2013–2017 AssertJ. All rights reserved.