|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--step.util.Hex
A utility class to generate string representations of various objects
as hexadecimal values.
All hex values are prepended with 0x
.
The hex digits are taken from {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}.
Constructor Summary | |
Hex()
|
Method Summary | |
static String |
toString(byte b)
Get a hex string for a byte . |
static String |
toString(byte[] bytes)
Get a hex string for an array of byte s. |
static String |
toString(int i)
Get a hex string for an int . |
static String |
toString(long l)
Get a hex string for a long . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Hex()
Method Detail |
public static String toString(int i)
int
.
public static String toString(long l)
long
.
public static String toString(byte b)
byte
.
public static String toString(byte[] bytes)
byte
s.
[
and ]
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |