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