org.jboss.lang
Class Autoboxing

java.lang.Object
  extended by org.jboss.lang.Autoboxing

public class Autoboxing
extends java.lang.Object

Autoboxing.


Constructor Summary
Autoboxing()
           
 
Method Summary
static java.lang.Byte valueOf(byte n)
          Box a byte
static java.lang.Character valueOf(char n)
          Box a char
static java.lang.Double valueOf(double n)
          Box a double
static java.lang.Float valueOf(float n)
          Box a float
static java.lang.Integer valueOf(int n)
          Box an integer
static java.lang.Long valueOf(long n)
          Box a long
static java.lang.Short valueOf(short n)
          Box a short
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Autoboxing

public Autoboxing()
Method Detail

valueOf

public static final java.lang.Byte valueOf(byte n)
Box a byte

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Character valueOf(char n)
Box a char

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Short valueOf(short n)
Box a short

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Integer valueOf(int n)
Box an integer

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Long valueOf(long n)
Box a long

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Float valueOf(float n)
Box a float

Parameters:
n - the number
Returns:
the boxed value

valueOf

public static final java.lang.Double valueOf(double n)
Box a double

Parameters:
n - the number
Returns:
the boxed value