Long.toHexString

Long.toHexString

Class Overview | Class Members | This Package | All Packages

Syntax
public static String toHexString( long i )
Parameters
i
a long.
Returns
the string representation of the unsigned long value represented by the argument in hexadecimal (base 16).
Description
Creates a string representation of the long argument as an unsigned integer in base 16.

The unsigned long value is the argument plus 264 if the argument is negative; otherwise, it is equal to the argument. This value is converted to a string of ASCII digits in hexadecimal (base 16) with no extra leading 0s.