Short JDK 1.1

java.lang serializable comparable

Synopsis^  ?
public final class Short extends Number implements Comparable {
// Public Constructors
    public Short( short value);  
    public Short( String s) throws NumberFormatException;  
// Public Constants
    public final static short MAX_VALUE; =32767 
    public final static short MIN_VALUE; =-32768 
    public final static Class TYPE; 
// Public Class Methods
    public static Short decode( String nm) throws NumberFormatException;  
    public static short parseShort( String s) throws NumberFormatException;  
    public static short parseShort( String s, int radix) throws NumberFormatException;  
    public static String toString( short s);  
    public static Short valueOf( String s) throws NumberFormatException;  
    public static Short valueOf( String s, int radix) throws NumberFormatException;  
// Public Instance Methods
2.0 public int compareTo( Short anotherShort);  
// Methods implementing Comparable
2.0 public int compareTo( Object o);  
// Public methods overriding Number
    public byte byteValue( );  
    public double doubleValue( );  
    public float floatValue( );  
    public int intValue( );  
    public long longValue( );  
    public short shortValue( );  
// Public methods overriding Object
    public boolean equals( Object obj);  
    public int hashCode( );  
    public String toString( );  
}

Hierarchy^  ?

[Object]
   |
[Number]---<Serializable>
   |
[Short]---<Comparable>

Inherited Properties^  ?
Number: none
Object: class

Inherited Methods^  ?
Number: none
Object: clone(), finalize(), notify(), notifyAll(), wait(), wait(), wait()

Passed To^  ?
Short.compareTo()

Returned By^  ?
Short.{decode(), valueOf()}

Uses^  ?
Class, Comparable, Integer, Number, NumberFormatException, Object, String, StringBuffer


Java Power Reference. Created by David Flanagan.
Copyright © 1999 O'Reilly & Associates.All Rights Reserved.

This file may not be distributed on the Internet.