Java.Lang.Integer Members

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

See Also: Inherited members from Java.Lang.Number

Public Constructors

Constructs a new Integer with the specified primitive integer value.
Constructs a new Integer from the specified string.

Public Fields

const
MaxValueint (2147483647). Constant for the maximum int value, 231-1.
const
MinValueint (-2147483648). Constant for the minimum int value, -231.
const
Sizeint (32). Constant for the number of bits needed to represent an int in two's complement form.

Public Properties

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

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

Public Operators

static
Conversion to System.Int32(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.