public final class Integer extends Number implements Comparable<Integer>
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_VALUE |
static int |
MIN_VALUE |
static Class<Integer> |
TYPE |
| Constructor and Description |
|---|
Integer(int value) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
static int |
compare(int i1,
int i2) |
int |
compareTo(Integer i) |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static int |
numberOfLeadingZeros(int i) |
static int |
parseInt(String s) |
static int |
parseInt(String s,
int radix) |
short |
shortValue() |
static int |
signum(int i) |
static String |
toBinaryString(int i) |
static String |
toHexString(int i) |
static String |
toOctalString(int i) |
String |
toString() |
static String |
toString(int i) |
static String |
toString(int i,
int radix) |
static Integer |
valueOf(int i) |
static Integer |
valueOf(String s) |
static Integer |
valueOf(String s,
int radix) |
public static final int MAX_VALUE
public static final int MIN_VALUE
public double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic static int parseInt(String s) throws NumberFormatException
NumberFormatExceptionpublic static int parseInt(String s, int radix) throws NumberFormatException
NumberFormatExceptionpublic short shortValue()
shortValue in class Numberpublic static String toBinaryString(int i)
public static String toHexString(int i)
public static String toOctalString(int i)
public static String toString(int i)
public static String toString(int i, int radix)
public static Integer valueOf(String s) throws NumberFormatException
NumberFormatExceptionpublic static Integer valueOf(String s, int radix) throws NumberFormatException
NumberFormatExceptionpublic static Integer valueOf(int i)
public static int signum(int i)
public static int compare(int i1,
int i2)
public int compareTo(Integer i)
compareTo in interface Comparable<Integer>public static int numberOfLeadingZeros(int i)
Copyright © 2026. All rights reserved.