java.lang
Class Short

java.lang.Object
  extended by java.lang.Number
      extended by java.lang.Short
All Implemented Interfaces:
Serializable, Comparable

public final class Short
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static short MAX_VALUE
           
static short MIN_VALUE
           
static Class TYPE
           
 
Constructor Summary
Short(short var0)
           
Short(String var0)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(Object var0)
           
 int compareTo(Short var0)
           
static Short decode(String var0)
           
 double doubleValue()
           
 boolean equals(Object var0)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static short parseShort(String var0)
           
static short parseShort(String var0, int var1)
           
 short shortValue()
           
 String toString()
           
static String toString(short var0)
           
static Short valueOf(String var0)
           
static Short valueOf(String var0, int var1)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final short MAX_VALUE
See Also:
Constant Field Values

MIN_VALUE

public static final short MIN_VALUE
See Also:
Constant Field Values

TYPE

public static final Class TYPE
Constructor Detail

Short

public Short(String var0)
      throws NumberFormatException
Throws:
NumberFormatException

Short

public Short(short var0)
Method Detail

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

compareTo

public int compareTo(Object var0)
Specified by:
compareTo in interface Comparable

compareTo

public int compareTo(Short var0)

decode

public static Short decode(String var0)
                    throws NumberFormatException
Throws:
NumberFormatException

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

equals

public boolean equals(Object var0)
Overrides:
equals in class Object

floatValue

public float floatValue()
Specified by:
floatValue in class Number

hashCode

public int hashCode()
Overrides:
hashCode in class Object

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

parseShort

public static short parseShort(String var0)
                        throws NumberFormatException
Throws:
NumberFormatException

parseShort

public static short parseShort(String var0,
                               int var1)
                        throws NumberFormatException
Throws:
NumberFormatException

shortValue

public short shortValue()
Overrides:
shortValue in class Number

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(short var0)

valueOf

public static Short valueOf(String var0)
                     throws NumberFormatException
Throws:
NumberFormatException

valueOf

public static Short valueOf(String var0,
                            int var1)
                     throws NumberFormatException
Throws:
NumberFormatException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.