|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Double
public class Double
Class to represent a double as an immutable object.
Field Summary | |
---|---|
static double |
MAX_VALUE
Maximum non-inifinity value. |
static double |
MIN_VALUE
Smallest positive value. |
static double |
NaN
Not a number value. |
static double |
NEGATIVE_INFINITY
Negative infinity. |
static double |
POSITIVE_INFINITY
Positive infinity. |
Constructor Summary | |
---|---|
Double(double d)
Constructs a Double object. |
Method Summary | |
---|---|
static boolean |
isInfinite(double d)
Checks if the double value specified is infinite. |
boolean |
isNaN()
Checks if this Double is Not-a-Number (NaN). |
static boolean |
isNaN(double d)
Checks if the double value specified is Not-a-Number (NaN). |
String |
toString()
Returns a String representation of this Double. |
static String |
toString(double d)
Returns a String representation of the specified double. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait |
Field Detail |
---|
public static final double MAX_VALUE
public static final double MIN_VALUE
public static final double NaN
public static final double NEGATIVE_INFINITY
public static final double POSITIVE_INFINITY
Constructor Detail |
---|
public Double(double d)
d
- double valueMethod Detail |
---|
public static boolean isInfinite(double d)
d
- double to check
public boolean isNaN()
public static boolean isNaN(double d)
d
- double to check
public String toString()
toString
in class Object
public static String toString(double d)
d
- double value
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |