RoboJDETM v2.0

java.lang
Class Integer

java.lang.Object
  extended by java.lang.Integer

public class Integer
extends Object

Class to represent an int as an immutable object.


Field Summary
static int MAX_VALUE
          Maximum positive int.
static int MIN_VALUE
          Minimum (most negative) int.
 
Constructor Summary
Integer(int value)
          Constructs an Integer object.
 
Method Summary
 int intValue()
          Returns the int value of this object.
static String toHexString(int value)
          Returns a hexadecimal String representation of the specified int.
 String toString()
          Returns a String representation of this Integer.
static String toString(int value)
          Returns a String representation of the specified int.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait
 

Field Detail

MAX_VALUE

public static final int MAX_VALUE
Maximum positive int.

See Also:
Constant Field Values

MIN_VALUE

public static final int MIN_VALUE
Minimum (most negative) int.

See Also:
Constant Field Values
Constructor Detail

Integer

public Integer(int value)
Constructs an Integer object.

Parameters:
value - int value
Method Detail

intValue

public int intValue()
Returns the int value of this object.

Returns:
int value

toHexString

public static String toHexString(int value)
Returns a hexadecimal String representation of the specified int.

Parameters:
value - int value
Returns:
hexadecimal String representation of value

toString

public String toString()
Returns a String representation of this Integer.

Overrides:
toString in class Object
Returns:
String representation of this Integer

toString

public static String toString(int value)
Returns a String representation of the specified int.

Parameters:
value - int value
Returns:
String representation of value

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com