|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphelps.lang.Doubles
Extensions to Double.
| Field Summary | |
|---|---|
static double |
EPSILON
If difference between two doubles is less than this, then they should be considered equal. |
static java.lang.Double |
ONE
|
static java.lang.Double |
ZERO
|
| Method Summary | |
|---|---|
static double |
parseDouble(java.lang.String value,
double defaultval)
Tries to parse value as an double,
but if String is null or can't be parsed as an int returns defaultval . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Double ZERO
public static final java.lang.Double ONE
public static final double EPSILON
doubles is less than this, then they should be considered equal.
| Method Detail |
|---|
public static double parseDouble(java.lang.String value,
double defaultval)
double,
but if String is null or can't be parsed as an int returns defaultval .
|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||