Double JDK 1.0

java.lang serializable comparable

Synopsis^  ?
public final class Double extends Number implements Comparable {
// Public Constructors
    public Double( double value);  
    public Double( String s) throws NumberFormatException;  
// Public Constants
    public final static double MAX_VALUE; =1.7976931348623157E308 
    public final static double MIN_VALUE; 
    public final static double NaN; =NaN 
    public final static double NEGATIVE_INFINITY; =-Infinity 
    public final static double POSITIVE_INFINITY; =Infinity 
1.1 public final static Class TYPE; 
// Public Class Methods
    public static long doubleToLongBits( double value); native 
    public static boolean isInfinite( double v);  
    public static boolean isNaN( double v);  
    public static double longBitsToDouble( long bits); native 
2.0 public static double parseDouble( String s) throws NumberFormatException;  
    public static String toString( double d);  
    public static Double valueOf( String s) throws NumberFormatException;  
// Property Accessor Methods (by property name)
    public boolean isInfinite( );  
    public boolean isNaN( );  
// Public Instance Methods
2.0 public int compareTo( Double anotherDouble);  
// Methods implementing Comparable
2.0 public int compareTo( Object o);  
// Public methods overriding Number
1.1 public byte byteValue( );  
    public double doubleValue( );  
    public float floatValue( );  
    public int intValue( );  
    public long longValue( );  
1.1 public short shortValue( );  
// Public methods overriding Object
    public boolean equals( Object obj);  
    public int hashCode( );  
    public String toString( );  
}

Hierarchy^  ?

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

JavaBeans Properties^  ?

  Name    Type    Access    Default    Flags  
  infinite    boolean    is     read-only   
  naN    boolean    is     read-only   

Inherited Properties^  ?
Number: none
Object: class

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

Passed To^  ?
Double.compareTo()

Returned By^  ?
Double.valueOf()

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

Used By^  ?
Math, String


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

This file may not be distributed on the Internet.