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