/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; public final class Double extends Number implements Comparable { public static final double POSITIVE_INFINITY = 1d / 0d; public static final double NEGATIVE_INFINITY = -1d / 0d; public static final double NaN = 0d / 0d; public static final double MAX_VALUE = 1.7976931348623157E308; public static final double MIN_VALUE = 4.9E-324; public static final int SIZE = 64; public static final Class TYPE = double.class; public Double(double value) { } public Double(String s) throws NumberFormatException { } native public static String toString(double d); native public static String toHexString(double d); native public static Double valueOf(String s) throws NumberFormatException; native public static Double valueOf(double d); native public static double parseDouble(String s) throws NumberFormatException; native public static boolean isNaN(double v); native public static boolean isInfinite(double v); native public boolean isNaN(); native public boolean isInfinite(); native public String toString(); native public byte byteValue(); native public short shortValue(); native public int intValue(); native public long longValue(); native public float floatValue(); native public double doubleValue(); native public int hashCode(); native public boolean equals(Object obj); native public static long doubleToLongBits(double value); native public static long doubleToRawLongBits(double value); native public static double longBitsToDouble(long bits); native public int compareTo(Double anotherDouble); native public static int compare(double d1, double d2); }