java.lang
Class  Integer
java.lang.Object
  |
  +--java.lang.Integer
- public class Integer
- extends Object
  
The Integer class represents the int
 primitive.
| 
Field Summary | 
static int | 
MAX_VALUE
 
          The maximum value that can be represented in an int variable. | 
static int | 
MIN_VALUE
 
          The minimum value that can be represented in an int variable. | 
 
| 
Constructor Summary | 
Integer(int value)
 
          Create an Integer object with the specified value. | 
 
 
 
MIN_VALUE
public static final int MIN_VALUE
- The minimum value that can be represented in an int variable.
 
MAX_VALUE
public static final int MAX_VALUE
- The maximum value that can be represented in an int variable.
 
Integer
public Integer(int value)
- Create an 
Integer object with the specified value.
- Parameters:
 value - the primitive value to represent.
 
 
parseInt
public static int parseInt(String s)
- Convert a string to an integer.
- Parameters:
 s - the String which contains the integer.
 
 
parseInt
public static int parseInt(StringBuffer s)
- Convert a string to an integer.
- Parameters:
 s - the StringBuffer which contains the integer.
 
 
toString
public static String toString(int i)
- Convert an integer to a string.
- Parameters:
 i - the integer to be converted to a string.