public class Numbers extends Object
| Constructor and Description |
|---|
Numbers() |
| Modifier and Type | Method and Description |
|---|---|
static double |
toDouble(String value) |
static double |
toDouble(String value,
double defaultValue) |
static Double |
toDoubleObject(String value) |
static int |
toInt(String value) |
static int |
toInt(String value,
int defaultValue) |
static Integer |
toIntegerObject(String value) |
static long |
toLong(String value) |
static long |
toLong(String value,
long defaultValue) |
static Long |
toLongObject(String value) |
public static int toInt(String value)
public static int toInt(String value, int defaultValue)
public static double toDouble(String value)
public static double toDouble(String value, double defaultValue)
public static long toLong(String value)
public static long toLong(String value, long defaultValue)
Copyright © 2020 Open Foris. All rights reserved.