java.lang
Class Integer

java.lang.Object
  extended by 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.
 
Method Summary
 boolean equals(Object obj)
           
 int intValue()
          Returns the value of this Integer as an int.
static int max(int i, int j)
           
static int min(int i, int j)
           
static long min(long i, long j)
           
static int parseInt(String s)
           
static int parseInt(String s, int radix)
           
static String toHexString(int i)
           
static String toString(int i)
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, println, toString
 

Field Detail

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
Constructor Detail

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.
Method Detail

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