public class TypeUtil extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TypeUtil.TypeResult |
| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
compatibleWithFieldName
Output the input data according to the case of the field name
|
static boolean |
compatibleWithJavaBean |
| 构造器和说明 |
|---|
TypeUtil() |
public static boolean compatibleWithJavaBean
public static boolean compatibleWithFieldName
public static boolean isPrimitive(Class<?> clazz)
public static <T> TypeUtil.TypeResult getGenericType(Class<T> type, Class<? extends T> clazz)
public static BigDecimal castToBigDecimal(Object value)
public static BigInteger castToBigInteger(Object value)
public static boolean isNumber(String str)
public static int castToInt(Object value, int def)
public static byte[] castToBytes(Object value)
public static <T> T cast(Object obj, ParameterizedType type)
public static Class<?> loadClass(String className, ClassLoader classLoader)
Copyright © 2020. All rights reserved.