braju.com
Java printf & scanf (beta)

com.braju.beta.lang
Class Short

java.lang.Object
  |
  +--java.lang.Number
        |
        +--com.braju.beta.lang.Short
All Implemented Interfaces:
java.io.Serializable

public final class Short
extends java.lang.Number

Provides a java.lang,Short look-a-like for JDK1.0.2 [internal use only].

See Also:
Serialized Form

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

Field Detail

MIN_VALUE

public static final short MIN_VALUE

MAX_VALUE

public static final short MAX_VALUE

TYPE

public static final java.lang.Class TYPE
Constructor Detail

Short

public Short(short value)

Short

public Short(java.lang.String s)
      throws java.lang.NumberFormatException
Method Detail

toString

public static java.lang.String toString(short sh)

parseShort

public static short parseShort(java.lang.String s)
                        throws java.lang.NumberFormatException

parseShort

public static short parseShort(java.lang.String s,
                               int radix)
                        throws java.lang.NumberFormatException

valueOf

public static Short valueOf(java.lang.String s,
                            int radix)
                     throws java.lang.NumberFormatException

valueOf

public static Short valueOf(java.lang.String s)
                     throws java.lang.NumberFormatException

decode

public static Short decode(java.lang.String nm)
                    throws java.lang.NumberFormatException

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

intValue

public int intValue()
Overrides:
intValue in class java.lang.Number

longValue

public long longValue()
Overrides:
longValue in class java.lang.Number

floatValue

public float floatValue()
Overrides:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Overrides:
doubleValue in class java.lang.Number

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

braju.com
Java printf & scanf (beta)

Copyright 1997-2000, Henrik Bengtsson.