public class NumberUtils extends Object
| Constructor and Description |
|---|
NumberUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Long> |
optToLong(String value) |
static double |
toDouble(String input,
double defaultValue) |
static int |
toInt(String input,
int defaultValue) |
static long |
toLong(String value,
long defaultValue) |
Copyright © 2008–2017. All rights reserved.