java.lang
Class Integer
java.lang.Object
java.lang.Integer
public final class Integer
- extends Object
|
Field Summary |
static int |
MAX_VALUE
A constant holding the maximum value an int can
have, 231-1. |
static int |
MIN_VALUE
|
|
Constructor Summary |
Integer(int value)
Constructs a newly allocated Integer object that
represents the specified int value. |
MIN_VALUE
public static final int MIN_VALUE
- See Also:
- Constant Field Values
MAX_VALUE
public static final int MAX_VALUE
- A constant holding the maximum value an
int can
have, 231-1.
- See Also:
- Constant Field Values
Integer
public Integer(int value)
- Constructs a newly allocated
Integer object that
represents the specified int value.
- Parameters:
value - the value to be represented by the
Integer object.
intValue
public int intValue()
- Returns the value of this
Integer as an
int.
toString
public static String toString(int i)
toHexString
public static String toHexString(int i)
parseInt
public static int parseInt(String s,
int radix)
throws NumberFormatException
- Throws:
NumberFormatException
parseInt
public static int parseInt(String s)
min
public static int min(int i,
int j)
- Parameters:
i - length -
- Returns:
min
public static long min(long i,
long j)
- Parameters:
skip_buffer_size - remaining -
- Returns:
max
public static int max(int i,
int j)
- Parameters:
i - newcount -
- Returns:
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object