Serializable
, Comparable<Integer>
, Constable
, ConstantDesc
Fields
static final int
The number of bytes used to represent an int
value in two's complement binary form.
static final int
A constant holding the maximum value an int
can have, 231-1.
static final int
A constant holding the minimum value an int
can have, -231.
static final int
The number of bits used to represent an int
value in two's complement binary form.
The Class
instance representing the primitive type int
.
Constructors
Deprecated, for removal: This API element is subject to removal in a future version. Deprecated, for removal: This API element is subject to removal in a future version.static int
Returns the number of one-bits in the two's complement binary representation of the specified int
value.
byte
Returns the value of this Integer
as a byte
after a narrowing primitive conversion.
static int
Compares two int
values numerically.
int
Compares two Integer
objects numerically.
static int
Compares two int
values numerically treating the values as unsigned.
static int
Returns the value obtained by compressing the bits of the specified int
value, i
, in accordance with the specified bit mask.
Decodes a String
into an Integer
.
Returns an
Optional
containing the nominal descriptor for this instance, which is the instance itself.
static int
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
double
Returns the value of this Integer
as a double
after a widening primitive conversion.
boolean
Compares this object to the specified object.
static int
Returns the value obtained by expanding the bits of the specified int
value, i
, in accordance with the specified bit mask.
float
Returns the value of this Integer
as a float
after a widening primitive conversion.
Determines the integer value of the system property with the specified name.
Determines the integer value of the system property with the specified name.
Returns the integer value of the system property with the specified name.
int
Returns a hash code for this Integer
.
static int
Returns a hash code for an int
value; compatible with Integer.hashCode()
.
static int
Returns an int
value with at most a single one-bit, in the position of the highest-order ("leftmost") one-bit in the specified int
value.
int
Returns the value of this Integer
as an int
.
long
Returns the value of this Integer
as a long
after a widening primitive conversion.
static int
Returns an int
value with at most a single one-bit, in the position of the lowest-order ("rightmost") one-bit in the specified int
value.
static int
Returns the greater of two
int
values as if by calling
Math.max
.
static int
Returns the smaller of two
int
values as if by calling
Math.min
.
static int
Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified int
value.
static int
Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary representation of the specified int
value.
static int
Parses the
CharSequence
argument as a signed
int
in the specified
radix
, beginning at the specified
beginIndex
and extending to
endIndex - 1
.
static int
Parses the string argument as a signed decimal integer.
static int
Parses the string argument as a signed integer in the radix specified by the second argument.
static int
Parses the
CharSequence
argument as an unsigned
int
in the specified
radix
, beginning at the specified
beginIndex
and extending to
endIndex - 1
.
static int
Parses the string argument as an unsigned decimal integer.
static int
Parses the string argument as an unsigned integer in the radix specified by the second argument.
static int
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
Resolves this instance as a
ConstantDesc
, the result of which is the instance itself.
static int
Returns the value obtained by reversing the order of the bits in the two's complement binary representation of the specified int
value.
static int
Returns the value obtained by reversing the order of the bytes in the two's complement representation of the specified int
value.
static int
Returns the value obtained by rotating the two's complement binary representation of the specified int
value left by the specified number of bits.
static int
Returns the value obtained by rotating the two's complement binary representation of the specified int
value right by the specified number of bits.
short
Returns the value of this Integer
as a short
after a narrowing primitive conversion.
static int
Returns the signum function of the specified int
value.
static int
Adds two integers together as per the + operator.
Returns a string representation of the integer argument as an unsigned integer in base 2.
Returns a string representation of the integer argument as an unsigned integer in base 16.
Returns a string representation of the integer argument as an unsigned integer in base 8.
Returns a String
object representing this Integer
's value.
Returns a String
object representing the specified integer.
Returns a string representation of the first argument in the radix specified by the second argument.
static long
Converts the argument to a long
by an unsigned conversion.
Returns a string representation of the argument as an unsigned decimal value.
Returns a string representation of the first argument as an unsigned integer value in the radix specified by the second argument.
Returns an Integer
instance representing the specified int
value.
Returns an Integer
object holding the value of the specified String
.
Returns an Integer
object holding the value extracted from the specified String
when parsed with the radix given by the second argument.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4