Java.Lang.Long Members

The members of Java.Lang.Long are listed below.

See Also: Inherited members from Java.Lang.Number

Public Constructors

Constructs a new Long with the specified primitive long value.
Constructs a new Long from the specified string.

Public Fields

const
MaxValuelong (9223372036854775807). Constant for the maximum long value, 263-1.
const
MinValuelong (-9223372036854775808). Constant for the minimum long value, -263.
const
Sizeint (64). Constant for the number of bits needed to represent a long in two's complement form.

Public Properties

[read-only]
static
TypeClass. The Java.Lang.Class object that represents the primitive type long.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.

Public Operators

static
Conversion to System.Int64(Explicit)Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

Java.Lang.IComparable.CompareToDocumentation for this section has not yet been entered.
IConvertible.GetTypeCodeDocumentation for this section has not yet been entered.
IConvertible.ToBooleanDocumentation for this section has not yet been entered.
IConvertible.ToByteDocumentation for this section has not yet been entered.
IConvertible.ToCharDocumentation for this section has not yet been entered.
IConvertible.ToDateTimeDocumentation for this section has not yet been entered.
IConvertible.ToDecimalDocumentation for this section has not yet been entered.
IConvertible.ToDoubleDocumentation for this section has not yet been entered.
IConvertible.ToInt16Documentation for this section has not yet been entered.
IConvertible.ToInt32Documentation for this section has not yet been entered.
IConvertible.ToInt64Documentation for this section has not yet been entered.
IConvertible.ToSByteDocumentation for this section has not yet been entered.
IConvertible.ToSingleDocumentation for this section has not yet been entered.
IConvertible.ToStringDocumentation for this section has not yet been entered.
IConvertible.ToTypeDocumentation for this section has not yet been entered.
IConvertible.ToUInt16Documentation for this section has not yet been entered.
IConvertible.ToUInt32Documentation for this section has not yet been entered.
IConvertible.ToUInt64Documentation for this section has not yet been entered.