@Test public void testToHexString1() throws Exception { byte b = 0x23; int len = 4; String expected = "0023"; assertEquals(HexUtil.toHexString(b, 4), expected); }
public static String toHexString(final long val) { return toHexString(val, 6); }
HexUtil { public static String toHexString(final long val) { return toHexString(val, 6); } }
HexUtil { public static String toHexString(final long val) { return toHexString(val, 6); } private  HexUtil(); }
HexUtil { public static String toHexString(final long val) { return toHexString(val, 6); } private  HexUtil(); static String toHexString(final long val); static String toHexString(final long val, final int length); static String toHexString(final int val); static String toHexString(final int val, final int length); static String toHexString(final byte val); static String toHexString(final byte val, final int length); static String toHexString(final String str, final int length); }
HexUtil { public static String toHexString(final long val) { return toHexString(val, 6); } private  HexUtil(); static String toHexString(final long val); static String toHexString(final long val, final int length); static String toHexString(final int val); static String toHexString(final int val, final int length); static String toHexString(final byte val); static String toHexString(final byte val, final int length); static String toHexString(final String str, final int length);  }