public class NumberUtil
extends org.apache.commons.lang3.math.NumberUtils
| 构造器和说明 |
|---|
NumberUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Number> |
isNumbers(Class<T> type,
String... str)
判断字符串是否是数字(指定类型)
|
static boolean |
isNumbers(String... str)
判断字符串是否是数字(无法具体判断是整型还是浮点型)
|
compare, compare, compare, compare, createBigDecimal, createBigInteger, createDouble, createFloat, createInteger, createLong, createNumber, isCreatable, isDigits, isNumber, isParsable, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, toByte, toByte, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toLong, toLong, toShort, toShortCopyright © 2019. All rights reserved.