@Test public void convertInto16() { assertEquals(1, DecimalUtils.convert2Hex(1)); assertEquals(22, DecimalUtils.convert2Hex(16)); assertEquals(23, DecimalUtils.convert2Hex(17)); }
public static int convert2Hex(int n) { return Integer.valueOf(String.valueOf(n), HEX_LENGTH); }
DecimalUtils { public static int convert2Hex(int n) { return Integer.valueOf(String.valueOf(n), HEX_LENGTH); } }
DecimalUtils { public static int convert2Hex(int n) { return Integer.valueOf(String.valueOf(n), HEX_LENGTH); } private  DecimalUtils(); }
DecimalUtils { public static int convert2Hex(int n) { return Integer.valueOf(String.valueOf(n), HEX_LENGTH); } private  DecimalUtils(); static int convert2Hex(int n); static BigInteger double2BigInt(double d); static String saveTwoPoint(double d); static String savePoint(double d, int point); static byte[] byteBuffer2byteArray(ByteBuffer bb); static ByteBuffer byteArray2byteBuffer(byte[] ba); }
DecimalUtils { public static int convert2Hex(int n) { return Integer.valueOf(String.valueOf(n), HEX_LENGTH); } private  DecimalUtils(); static int convert2Hex(int n); static BigInteger double2BigInt(double d); static String saveTwoPoint(double d); static String savePoint(double d, int point); static byte[] byteBuffer2byteArray(ByteBuffer bb); static ByteBuffer byteArray2byteBuffer(byte[] ba);  }