Java.Lang.Integer: Method Members

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

See Also: Inherited members from Java.Lang.Number

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.