public class ClassUtil extends Object
Constructor and Description |
---|
ClassUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
arrayElementIsObjectType(Class<T> clazz)
判断对象是不是集合类型
|
static <T> boolean |
collectionElementIsObjectType(T object)
判断对象是不是集合类型
|
static <T> String |
humpString(Class<T> clazz)
采取驼峰规则
|
static <T> boolean |
isArray(Class<T> clazz)
判断对象是不是集合类型
|
static boolean |
isBasicClass(Class<?> clazz)
判断该类型是不是包装类型
|
static <T> boolean |
isCollectTypes(T object)
判断对象是不是集合类型
|
static <T> boolean |
isMapTypes(T object)
判断对象是不是映射类型
|
public static boolean isBasicClass(Class<?> clazz)
clazz
- public static <T> boolean isCollectTypes(T object)
T
- object
- public static <T> boolean isMapTypes(T object)
T
- object
- public static <T> boolean isArray(Class<T> clazz)
T
- object
- public static <T> boolean arrayElementIsObjectType(Class<T> clazz)
T
- object
- public static <T> boolean collectionElementIsObjectType(T object)
T
- object
- Copyright © 2006–2018 TinyGroup. All rights reserved.