Double Members

Double Members

Class Overview | This Package | All Packages

Fields
Name Description
MAX_VALUE The largest positive value of type double.
MIN_VALUE The smallest positive value of type double.
NaN A NaN value of type double.
NEGATIVE_INFINITY The negative infinity of type double.
POSITIVE_INFINITY The positive infinity of type double.
TYPE The Class object representing the primitive type double.

Constructors
Name Description
Double(double) Constructs a newly allocated Double object that represents the primitive double argument.
Double(String) Constructs a newly allocated Double object that represents the floating- point value of type double represented by the string.

Methods
Name Description
byteValue() Returns the value of this Double as a byte (by casting to a byte).
doubleToLongBits(double) Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "double format" bit layout.
doubleValue() Returns the double value of this Double.
equals(Object) Compares this object against the specified object.
floatValue() Returns the float value of this Double.
hashCode() Returns a hashcode for this Double.
intValue() Returns the integer value of this Double (by casting to an int).
isInfinite() Returns true if this Double value is infinitely large in magnitude.
isInfinite(double) Returns true if the specified number is infinitely large in magnitude.
isNaN() Returns true if this Double value is the special Not-a-Number (NaN) value.
isNaN(double) Returns true if the specified number is the special Not-a-Number (NaN) value.
longBitsToDouble(long) Returns the double-float corresponding to a given bit represention.
longValue() Returns the long value of this Double (by casting to a long).
shortValue() Returns the value of this Double as a short (by casting to a short).
toString() Returns a String representation of this Double object.
toString(double) Creates a string representation of the double argument.
valueOf(String) Returns a new Double value initialized to the value represented by the specified String.