Package java.lang
Class Double
java.lang.Object
java.lang.Number
java.lang.Double
- All Implemented Interfaces:
Serializable
,Comparable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
static final double
static final double
static final double
static final double
static final Class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte
int
int
static long
doubleToLongBits
(double var0) static long
doubleToRawLongBits
(double var0) double
boolean
float
int
hashCode()
int
intValue()
boolean
static boolean
isInfinite
(double var0) boolean
isNaN()
static boolean
isNaN
(double var0) static double
longBitsToDouble
(long var0) long
static double
parseDouble
(String var0) short
toString()
static String
toString
(double var0) static Double
-
Field Details
-
MAX_VALUE
public static final double MAX_VALUE- See Also:
-
MIN_VALUE
public static final double MIN_VALUE- See Also:
-
NaN
public static final double NaN- See Also:
-
POSITIVE_INFINITY
public static final double POSITIVE_INFINITY- See Also:
-
NEGATIVE_INFINITY
public static final double NEGATIVE_INFINITY- See Also:
-
TYPE
-
-
Constructor Details
-
Double
public Double(double var0) -
Double
- Throws:
NumberFormatException
-
-
Method Details
-
compareTo
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
byteValue
public byte byteValue() -
doubleToLongBits
public static long doubleToLongBits(double var0) -
doubleToRawLongBits
public static long doubleToRawLongBits(double var0) -
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
hashCode
public int hashCode() -
intValue
public int intValue() -
isInfinite
public boolean isInfinite() -
isInfinite
public static boolean isInfinite(double var0) -
isNaN
public boolean isNaN() -
isNaN
public static boolean isNaN(double var0) -
longBitsToDouble
public static double longBitsToDouble(long var0) -
longValue
public long longValue() -
parseDouble
- Throws:
NumberFormatException
-
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
toString
-
toString
-
valueOf
- Throws:
NumberFormatException
-