public class TypeUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static BigDecimal |
DEC_HIGH |
static BigDecimal |
DEC_LOW |
static BigInteger |
INT_HIGH |
static BigInteger |
INT_LOW |
| 构造器和说明 |
|---|
TypeUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection |
createCollection(Type type,
boolean isThrow) |
static EnumWrap |
createEnum(Class<?> clz) |
static Map |
createMap(Type type) |
static Type |
getCollectionItemType(Type fieldType) |
static Class<?> |
getRawClass(Type type) |
static Object |
strTo(String str,
Class<?> clz)
将字符串转为类型
|
public static final BigInteger INT_LOW
public static final BigInteger INT_HIGH
public static final BigDecimal DEC_LOW
public static final BigDecimal DEC_HIGH
public static Collection createCollection(Type type, boolean isThrow)
Copyright © 2019. All rights reserved.