Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Double

Availability: JDK 1.0

public final class Double extends Number {
   // Public Constructors
      public Double(double value);
      public Double(String s) throws NumberFormatException;
   // Constants
      public static final double MAX_VALUE;
      public static final double MIN_VALUE;
      public static final double NEGATIVE_INFINITY;
      public static final double NaN;
      public static final double POSITIVE_INFINITY;
1.1  public static final Class TYPE;
   // Class Methods
      public static native long doubleToLongBits(double value);
      public static boolean isInfinite(double v);
      public static boolean isNaN(double v);
      public static native double longBitsToDouble(long bits);
      public static String toString(double d);
      public static Double valueOf(String s) throws NumberFormatException;
   // Public Instance Methods
1.1  public byte byteValue();  // Overrides Number.byteValue()
      public double doubleValue();  // Defines Number.doubleValue()
      public boolean equals(Object obj);  // Overrides Object.equals()
      public float floatValue();  // Defines Number.floatValue()
      public int hashCode();  // Overrides Object.hashCode()
      public int intValue();  // Defines Number.intValue()
      public boolean isInfinite();
      public boolean isNaN();
      public long longValue();  // Defines Number.longValue()
1.1  public short shortValue();  // Overrides Number.shortValue()
      public String toString();  // Overrides Object.toString()
}
Returned By:
Double.valueOf().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.