public final class Integer extends Number implements Comparable<Integer>
int
as an object.Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE |
static int |
MIN_VALUE |
static int |
SIZE |
static Class<Integer> |
TYPE |
floatRegex
Modifier and Type | Method and Description |
---|---|
static int |
bitCount(int x) |
byte |
byteValue() |
static int |
compare(int x,
int y) |
int |
compareTo(Integer b) |
static Integer |
decode(String s) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
static int |
hashCode(int i) |
static int |
highestOneBit(int i) |
int |
intValue() |
long |
longValue() |
static int |
lowestOneBit(int i) |
static int |
numberOfLeadingZeros(int i) |
static int |
numberOfTrailingZeros(int i) |
static int |
parseInt(String s) |
static int |
parseInt(String s,
int radix) |
static int |
reverse(int i) |
static int |
reverseBytes(int i) |
static int |
rotateLeft(int i,
int distance) |
static int |
rotateRight(int i,
int distance) |
short |
shortValue() |
static int |
signum(int i) |
static String |
toBinaryString(int value) |
static String |
toHexString(int value) |
static String |
toOctalString(int value) |
String |
toString() |
static String |
toString(int value) |
static String |
toString(int value,
int radix) |
static Integer |
valueOf(int i) |
static Integer |
valueOf(String s) |
static Integer |
valueOf(String s,
int radix) |
__decodeAndValidateInt, __decodeNumberString, __parseAndValidateDouble, __parseAndValidateInt, __parseAndValidateLong
public static final int MAX_VALUE
public static final int MIN_VALUE
public static final int SIZE
public Integer(int value)
public Integer(String s)
public static int bitCount(int x)
public static int compare(int x, int y)
public static Integer decode(String s) throws NumberFormatException
NumberFormatException
public static int hashCode(int i)
public static int highestOneBit(int i)
public static int lowestOneBit(int i)
public static int numberOfLeadingZeros(int i)
public static int numberOfTrailingZeros(int i)
public static int parseInt(String s) throws NumberFormatException
NumberFormatException
public static int parseInt(String s, int radix) throws NumberFormatException
NumberFormatException
public static int reverse(int i)
public static int reverseBytes(int i)
public static int rotateLeft(int i, int distance)
public static int rotateRight(int i, int distance)
public static int signum(int i)
public static String toBinaryString(int value)
public static String toHexString(int value)
public static String toOctalString(int value)
public static String toString(int value)
public static String toString(int value, int radix)
public static Integer valueOf(int i)
public static Integer valueOf(String s) throws NumberFormatException
NumberFormatException
public static Integer valueOf(String s, int radix) throws NumberFormatException
NumberFormatException
public int compareTo(Integer b)
compareTo
in interface Comparable<Integer>
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public short shortValue()
shortValue
in class Number
Copyright © 2018. All rights reserved.