public class FieldUtil extends Object
| 构造器和说明 |
|---|
FieldUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static KVEntity<String,List<FieldInfo>> |
extract(Type type)
提取具体Field
|
static boolean |
isEmpty(String str)
是否为空
|
static <T extends ParamChildrenVo> |
removeField(List<T> vos,
String field)
删除指定属性
|
static <T extends ParamChildrenVo> |
removeField(List<T> vos,
String[] keys,
int index) |
public static KVEntity<String,List<FieldInfo>> extract(Type type)
type - 要提取的对象public static <T extends ParamChildrenVo> List<T> removeField(List<T> vos, String field)
T - 删除后的数据vos - listfield - filedpublic static <T extends ParamChildrenVo> List<T> removeField(List<T> vos, String[] keys, int index)
public static boolean isEmpty(String str)
str - 判断的字符串Copyright © 2024. All rights reserved.