Hex to string java. longValue() For any value of someLong: new BigInteger(Long.