Prevents brute force attacks using the famous Java bug.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static double | Returns: the double valueSafe way of getting the double value prevents BigDecimal from calling Double.parseDouble() |
| public static double | Returns: the double valueSafe way of getting the double value Prevents BigDecimal from calling Double.parseDouble() |
| public static Double | Returns: the Double valueThe input String s)Safe way of parsing a Double value from a String |
| public static Double |
| SafeDoubleParser | back to summary |
|---|---|
| public SafeDoubleParser() | |
| doubleValue | back to summary |
|---|---|
| public static double doubleValue(Number number) Safe way of getting the double value
| |
| doubleValue | back to summary |
|---|---|
| public static double doubleValue(BigDecimal bigDecimal) Safe way of getting the double value
| |
| parseDouble | back to summary |
|---|---|
| public static Double parseDouble(String s) Safe way of parsing a Double value from a String | |
| valueOf | back to summary |
|---|---|
| public static Double valueOf(String s) Safe way of parsing a Double value from a String | |