Uses of Class
org.aoju.bus.core.lang.Dict
Packages that use Dict
-
Uses of Dict in org.aoju.bus.core.lang
Methods in org.aoju.bus.core.lang with type parameters of type DictModifier and TypeMethodDescription<T extends Dict>
voidDict.removeEqual(T dict, String... withoutNames) 与给定实体对比并去除相同的部分 此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0Methods in org.aoju.bus.core.lang that return DictModifier and TypeMethodDescriptionDict.clone()static DictDict.create()创建Dict过滤Map保留指定键值对,如果键不存在跳过static Dict根据给定的键值对数组创建Dict对象,传入参数必须为key,value,key,value...static Dict根据给定的Pair数组创建Dict对象static <T> DictDict.parse(T bean) 将PO对象转为Dict<T> DictDict.parseBean(T bean) 将值对象转换为Dict 类名会被当作表名,小写第一个字母<T> DictDict.parseBean(T bean, boolean isToUnderlineCase, boolean ignoreNullValue) 将值对象转换为Dict 类名会被当作表名,小写第一个字母设置列通过lambda批量设置值 实际使用时,可以使用getXXX的方法引用来完成键值对的赋值:Dict.setIgnoreNull(String attr, Object value) 设置列,当键或值为null时忽略