The high 32 bits as a signed value.
The low 32 bits as a signed value.
Whether unsigned or not.
Maximum unsigned value.
Maximum signed value.
Minimum signed value.
Signed negative one.
Signed one.
Unsigned one.
Unsigned zero.
Signed zero.
Compares this Long's value with the specified's.
Tests if this Long's value equals the specified's.
Gets the high 32 bits as a signed integer.
Gets the high 32 bits as an unsigned integer.
Gets the low 32 bits as a signed integer.
Gets the low 32 bits as an unsigned integer.
Gets the number of bits needed to represent the absolute value of this Long.
Tests if this Long's value is greater than the specified's.
Tests if this Long's value is greater than or equal the specified's.
Tests if this Long's value is even.
Tests if this Long's value is negative.
Tests if this Long's value is odd.
Tests if this Long's value is positive.
Tests if this Long's value equals zero.
Tests if this Long's value is less than the specified's.
Tests if this Long's value is less than or equal the specified's.
Negates this Long's value.
Returns the bitwise NOT of this Long.
Tests if this Long's value differs from the specified's.
Converts this Long to its byte representation.
Converts this Long to its big endian byte representation.
Converts this Long to its little endian byte representation.
Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
Converts this Long to signed.
Converts the Long to a string written in the specified radix.
Converts this Long to unsigned.
Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.
Creates a Long from its byte representation.
Creates a Long from its big endian byte representation.
Creates a Long from its little endian byte representation.
Returns a Long representing the given 32 bit integer value.
Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
Returns a Long representation of the given string, written using the specified radix.
Generated using TypeDoc
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as signed integers. See the from* functions below for more convenient ways of constructing Longs.