Java.Lang.Long: Method Members

The methods of Java.Lang.Long are listed below. For a list of all members, see the Long Members list.

See Also: Inherited members from Java.Lang.Number

Public Methods

static
BitCount(long) : int
Counts the number of 1 bits in the specified long value; this is also referred to as population count.
static
Compare(long, long) : int
Compares two long values.
CompareTo(Long) : int
Compares this object to the specified long object to determine their relative order.
static
Decode(string) : Long
Parses the specified string and returns a Long instance if the string can be decoded into a long value.
override
DoubleValue() : double
Returns this object's value as a double.
override
FloatValue() : float
Returns this object's value as a float.
static
GetLong(string) : Long
Returns the Long value of the system property identified by string.
static
GetLong(string, Long) : Long
Returns the Long value of the system property identified by string.
static
GetLong(string, long) : Long
Returns the Long value of the system property identified by string.
static
HighestOneBit(long) : long
Determines the highest (leftmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.
override
IntValue() : int
Returns this object's value as an int.
override
LongValue() : long
Gets the primitive value of this long.
static
LowestOneBit(long) : long
Determines the lowest (rightmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.
static
NumberOfLeadingZeros(long) : int
Determines the number of leading zeros in the specified long value prior to the Long.HighestOneBit(long).
static
NumberOfTrailingZeros(long) : int
Determines the number of trailing zeros in the specified long value after the Long.LowestOneBit(long).
static
ParseLong(string) : long
Parses the specified string as a signed decimal long value.
static
ParseLong(string, int) : long
Parses the specified string as a signed long value using the specified radix.
static
Reverse(long) : long
Reverses the order of the bits of the specified long value.
static
ReverseBytes(long) : long
Reverses the order of the bytes of the specified long value.
static
RotateLeft(long, int) : long
Rotates the bits of the specified long value to the left by the specified number of bits.
static
RotateRight(long, int) : long
Rotates the bits of the specified long value to the right by the specified number of bits.
static
Signum(long) : int
Returns the value of the signum function for the specified long value.
static
ToBinaryString(long) : string
Converts the specified long value into its binary string representation.
static
ToHexString(long) : string
Converts the specified long value into its hexadecimal string representation.
static
ToOctalString(long) : string
Converts the specified long value into its octal string representation.
static
ToString(long) : string
Converts the specified long value into its decimal string representation.
static
ToString(long, int) : string
Converts the specified signed long value into a string representation based on the specified radix.
static
ValueOf(long) : Long
Returns a Long instance for the specified long value.
static
ValueOf(string) : Long
Parses the specified string as a signed decimal long value.
static
ValueOf(string, int) : Long
Parses the specified string as a signed long value using the specified radix.